 |
log4cplus
2.0.5
|
Go to the documentation of this file.
36 #ifndef LOG4CPLUS_ASYNCAPPENDER_H
37 #define LOG4CPLUS_ASYNCAPPENDER_H
41 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
45 #ifndef LOG4CPLUS_SINGLE_THREADED
108 #endif // LOG4CPLUS_SINGLE_THREADED
110 #endif // LOG4CPLUS_ASYNCAPPENDER_H
This Interface is for attaching Appenders to objects.
This Appender is a wrapper to which other appenders can be attached.
void init_queue_thread(unsigned)
helpers::SharedObjectPtr< AsyncAppender > AsyncAppenderPtr
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
AsyncAppender(SharedAppenderPtr const &app, unsigned max_len)
The internal representation of logging events.
virtual void append(spi::InternalLoggingEvent const &)
Subclasses of Appender should implement this method to perform actual logging.
AsyncAppender(helpers::Properties const &)
Extend this class for implementing your own strategies for printing log statements.
thread::AbstractThreadPtr queue_thread