 |
log4cplus
2.0.5
|
Go to the documentation of this file.
23 #ifndef LOG4CPLUS_NT_EVENT_LOG_APPENDER_HEADER_
24 #define LOG4CPLUS_NT_EVENT_LOG_APPENDER_HEADER_
28 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
32 #if defined (LOG4CPLUS_HAVE_NT_EVENT_LOG)
83 #endif // LOG4CPLUS_HAVE_NT_EVENT_LOG
84 #endif //LOG4CPLUS_NT_EVENT_LOG_APPENDER_HEADER_
NTEventLogAppender(const log4cplus::helpers::Properties &properties)
log4cplus::tstring server
std::basic_string< tchar > tstring
virtual void append(const spi::InternalLoggingEvent &event)
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,...
Appends log events to NT EventLog.
virtual WORD getEventType(const spi::InternalLoggingEvent &event)
virtual WORD getEventCategory(const spi::InternalLoggingEvent &event)
The internal representation of logging events.
log4cplus::tstring source
Extend this class for implementing your own strategies for printing log statements.
NTEventLogAppender(const log4cplus::tstring &server, const log4cplus::tstring &log, const log4cplus::tstring &source)
virtual ~NTEventLogAppender()