 |
log4cplus
2.0.5
|
Go to the documentation of this file.
36 #ifndef LOG4CPLUS_CLFSAPPENDER_H
37 #define LOG4CPLUS_CLFSAPPENDER_H
41 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
48 #if defined (LOG4CPLUS_CLFSAPPENDER_BUILD_DLL)
49 # if defined (INSIDE_LOG4CPLUS_CLFSAPPENDER)
50 # define LOG4CPLUS_CLFSAPPENDER_EXPORT __declspec(dllexport)
52 # define LOG4CPLUS_CLFSAPPENDER_EXPORT __declspec(dllimport)
55 # define LOG4CPLUS_CLFSAPPENDER_EXPORT
68 unsigned long buffersize);
80 unsigned long buffersize);
98 #endif // LOG4CPLUS_CLFSAPPENDER_H
void init(tstring const &logname, unsigned long logsize, unsigned long buffersize)
std::basic_string< tchar > tstring
CLFSAppender(tstring const &logname, unsigned long logsize, unsigned long buffersize)
#define LOG4CPLUS_CLFSAPPENDER_EXPORT
helpers::SharedObjectPtr< CLFSAppender > CLFSAppenderPtr
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,...
static void registerAppender()
The internal representation of logging events.
Extend this class for implementing your own strategies for printing log statements.
CLFSAppender(helpers::Properties const &)