18#ifndef _LOG4CXX_NT_EVENT_LOG_APPENDER_HEADER_
19#define _LOG4CXX_NT_EVENT_LOG_APPENDER_HEADER_
50 void activateOptions(helpers::Pool& p) override;
51 void close() override;
75 bool requiresLayout()
const override
109 struct NTEventLogAppenderPrivate;
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
Appends log events to NT EventLog.
Definition: nteventlogappender.h:31
void setLog(const LogString &log)
void * HANDLE
Definition: nteventlogappender.h:99
const LogString & getServer() const
static unsigned short getEventType(const spi::LoggingEventPtr &event)
const LogString & getLog() const
void setServer(const LogString &server)
static LogString getErrorString(const LogString &function)
const LogString & getSource() const
void append(const spi::LoggingEventPtr &event, helpers::Pool &p) override
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
void setSource(const LogString &source)
void SID
Definition: nteventlogappender.h:98
static unsigned short getEventCategory(const spi::LoggingEventPtr &event)
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:60
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:42
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146