log4cpp::BufferingAppender man page

log4cpp::BufferingAppender —

Synopsis

#include <BufferingAppender.hh>

Inherits log4cpp::LayoutAppender.

Public Member Functions

BufferingAppender (const std::string name, unsigned long max_size, std::auto_ptr< Appender > sink, std::auto_ptr< TriggeringEventEvaluator > evaluator)

virtual void close ()
Release any resources allocated within the appender such as file handles, network connections, etc.
bool getLossy () const

void setLossy (bool lossy)

Protected Member Functions

virtual void _append (const LoggingEvent &event)
Log in Appender specific way.

Additional Inherited Members

Constructor & Destructor Documentation

log4cpp::BufferingAppender::BufferingAppender (const std::string name, unsigned long max_size, std::auto_ptr< Appender > sink, std::auto_ptr< TriggeringEventEvaluator > evaluator)

Member Function Documentation

void log4cpp::BufferingAppender::_append (const LoggingEvent & event) [protected], [virtual]

Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.

Parameters:

event The LoggingEvent to log.

Implements log4cpp::AppenderSkeleton.

virtual void log4cpp::BufferingAppender::close () [inline], [virtual]

Release any resources allocated within the appender such as file handles, network connections, etc.

Implements log4cpp::AppenderSkeleton.

bool log4cpp::BufferingAppender::getLossy () const [inline]

void log4cpp::BufferingAppender::setLossy (bool lossy) [inline]

Author

Generated automatically by Doxygen for log4cpp from the source code.

Info

Thu Feb 4 2016 Version 1.1.1 log4cpp