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