18 #ifndef _LOG4CXX_NT_EVENT_LOG_APPENDER_HEADER_ 19 #define _LOG4CXX_NT_EVENT_LOG_APPENDER_HEADER_ 24 #pragma warning ( push ) 25 #pragma warning ( disable: 4251 ) 67 this->source.assign(source);
77 this->log.assign(log);
87 this->server.assign(server);
110 void addRegistryInfo();
130 #if defined(_MSC_VER) 131 #pragma warning (pop) 133 #endif //_LOG4CXX_NT_EVENT_LOG_APPENDER_HEADER_ void * HANDLE
Definition: nteventlogappender.h:102
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
LogString server
Definition: nteventlogappender.h:113
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
Implementation base class for all appenders.
Definition: appenderskeleton.h:43
const LogString & getSource() const
Definition: nteventlogappender.h:70
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
void setServer(const LogString &server)
Definition: nteventlogappender.h:85
void setSource(const LogString &source)
Definition: nteventlogappender.h:65
void SID
Definition: nteventlogappender.h:101
LOG4CXX_PTR_DEF(NTEventLogAppender)
HANDLE hEventLog
Definition: nteventlogappender.h:116
const LogString & getLog() const
Definition: nteventlogappender.h:80
Appends log events to NT EventLog.
Definition: nteventlogappender.h:36
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
LogString log
Definition: nteventlogappender.h:114
LogString source
Definition: nteventlogappender.h:115
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:47
const LogString & getServer() const
Definition: nteventlogappender.h:90
SID * pCurrentUserSID
Definition: nteventlogappender.h:117
bool requiresLayout() const
The SocketAppender does not use a layout.
Definition: nteventlogappender.h:60
void setLog(const LogString &log)
Definition: nteventlogappender.h:75
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66