7 #ifndef _LOG4CPP_NTEVENTLOGAPPENDER_HH 8 #define _LOG4CPP_NTEVENTLOGAPPENDER_HH 10 #ifdef WIN32 // only available on Win32 17 #define NOGDI // this will circumvent the ERROR #define in windows.h 18 #define LOG4CPP_UNDEFINE_NOGDI 21 #ifndef WIN32_LEAN_AND_MEAN 22 #define WIN32_LEAN_AND_MEAN 23 #define LOG4CPP_UNDEFINE_WIN32_LEAN_AND_MEAN 28 #ifdef LOG4CPP_UNDEFINE_NOGDI 32 #ifdef LOG4CPP_UNDEFINE_WIN32_LEAN_AND_MEAN 33 #undef WIN32_LEAN_AND_MEAN 36 #endif // done dealing with ERROR #define 65 virtual bool reopen();
73 virtual bool requiresLayout()
const;
75 virtual void setLayout(
Layout* layout);
80 HKEY regGetKey(TCHAR* subkey, DWORD* disposition);
81 void regSetString(HKEY hkey, TCHAR* name, TCHAR* value);
82 void regSetDword(HKEY hkey, TCHAR* name, DWORD value);
83 void addRegistryInfo(
const char* source);
99 #error NTEventLoggAppender is not available on on Win32 platforms 102 #endif // _LOG4CPP_NTEVENTLOGAPPENDER_HH
std::string _strSourceName
Definition: NTEventLogAppender.hh:94
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
Definition: AppenderSkeleton.hh:24
HANDLE _hEventSource
Definition: NTEventLogAppender.hh:93
Extend this abstract class to create your own log layout format.
Definition: Layout.hh:22
#define LOG4CPP_EXPORT
Definition: Export.hh:26
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
The internal representation of logging events.
Definition: LoggingEvent.hh:32
int Value
The type of Priority Values.
Definition: Priority.hh:85
NTEventLogAppender is an Appender that sends LoggingEvents to the Windows event log.
Definition: NTEventLogAppender.hh:52