log4cplus
2.0.0
|
#include <asyncappender.h>
Public Member Functions | |
AsyncAppender (SharedAppenderPtr const &app, unsigned max_len) | |
AsyncAppender (helpers::Properties const &) | |
virtual | ~AsyncAppender () |
virtual void | close () |
Release any resources allocated within the appender such as file handles, network connections, etc. | |
Protected Member Functions | |
virtual void | append (spi::InternalLoggingEvent const &) |
Subclasses of Appender should implement this method to perform actual logging. | |
void | init_queue_thread (unsigned) |
Protected Attributes | |
thread::AbstractThreadPtr | queue_thread |
thread::QueuePtr | queue |
Definition at line 57 of file asyncappender.h.
log4cplus::AsyncAppender::AsyncAppender | ( | SharedAppenderPtr const & | app, |
unsigned | max_len | ||
) |
virtual log4cplus::AsyncAppender::~AsyncAppender | ( | ) | [virtual] |
virtual void log4cplus::AsyncAppender::append | ( | spi::InternalLoggingEvent const & | event | ) | [protected, virtual] |
Subclasses of Appender
should implement this method to perform actual logging.
Implements log4cplus::Appender.
virtual void log4cplus::AsyncAppender::close | ( | ) | [virtual] |
Release any resources allocated within the appender such as file handles, network connections, etc.
It is a programming error to append to a closed appender.
Implements log4cplus::Appender.
void log4cplus::AsyncAppender::init_queue_thread | ( | unsigned | ) | [protected] |
thread::QueuePtr log4cplus::AsyncAppender::queue [protected] |
Definition at line 74 of file asyncappender.h.
Definition at line 73 of file asyncappender.h.