table of contents
log4cpp::BufferingAppender(3) | log4cpp | log4cpp::BufferingAppender(3) |
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.
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:
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.
4 Aug 2014 | Version 1.0 |