log4cplus
1.1.0
|
#include <clfsappender.h>
Public Member Functions | |
CLFSAppender (tstring const &logname, unsigned long logsize, unsigned long buffersize) | |
CLFSAppender (helpers::Properties const &) | |
virtual | ~CLFSAppender () |
virtual void | close () |
Release any resources allocated within the appender such as file handles, network connections, etc. | |
Static Public Member Functions | |
static void | registerAppender () |
Protected Member Functions | |
virtual void | append (spi::InternalLoggingEvent const &) |
Subclasses of Appender should implement this method to perform actual logging. | |
void | init (tstring const &logname, unsigned long logsize, unsigned long buffersize) |
Protected Attributes | |
Data * | data |
Definition at line 63 of file clfsappender.h.
log4cplus::CLFSAppender::CLFSAppender | ( | tstring const & | logname, |
unsigned long | logsize, | ||
unsigned long | buffersize | ||
) |
log4cplus::CLFSAppender::CLFSAppender | ( | helpers::Properties const & | ) | [explicit] |
virtual log4cplus::CLFSAppender::~CLFSAppender | ( | ) | [virtual] |
virtual void log4cplus::CLFSAppender::append | ( | spi::InternalLoggingEvent const & | event | ) | [protected, virtual] |
Subclasses of Appender
should implement this method to perform actual logging.
Implements log4cplus::Appender.
virtual void log4cplus::CLFSAppender::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::CLFSAppender::init | ( | tstring const & | logname, |
unsigned long | logsize, | ||
unsigned long | buffersize | ||
) | [protected] |
static void log4cplus::CLFSAppender::registerAppender | ( | ) | [static] |
Data* log4cplus::CLFSAppender::data [protected] |
Definition at line 82 of file clfsappender.h.