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)
Extend this class for implementing your own strategies for printing log statements.
Appends log events to NT EventLog.
NTEventLogAppender(const log4cplus::tstring &server, const log4cplus::tstring &log, const log4cplus::tstring &source)
log4cplus::tstring server
virtual void close()
Release any resources allocated within the appender such as file handles, network connections,...
virtual WORD getEventCategory(const spi::InternalLoggingEvent &event)
log4cplus::tstring source
NTEventLogAppender(const log4cplus::helpers::Properties &properties)
virtual void append(const spi::InternalLoggingEvent &event)
Subclasses of Appender should implement this method to perform actual logging.
virtual WORD getEventType(const spi::InternalLoggingEvent &event)
virtual ~NTEventLogAppender()
The internal representation of logging events.
std::basic_string< tchar > tstring