NAME

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::stringname, unsigned longmax_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 (boollossy) [inline]

Author

Generated automatically by Doxygen for log4cpp from the source code.