7#ifndef _LOG4CPP_NTEVENTLOGAPPENDER_HH
8#define _LOG4CPP_NTEVENTLOGAPPENDER_HH
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
66 virtual bool reopen();
74 virtual bool requiresLayout()
const;
76 virtual void setLayout(
Layout* layout);
82 HKEY regGetKey(TCHAR *subkey, DWORD *disposition);
83 void regSetString(HKEY hkey, TCHAR *name, TCHAR *value);
84 void regSetDword(HKEY hkey, TCHAR *name, DWORD value);
85 void addRegistryInfo(
const char *source);
101#error NTEventLoggAppender is not available on on Win32 platforms
#define LOG4CPP_EXPORT
Definition: Export.hh:26
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
Definition: AppenderSkeleton.hh:24
Extend this abstract class to create your own log layout format.
Definition: Layout.hh:22
NTEventLogAppender is an Appender that sends LoggingEvents to the Windows event log.
Definition: NTEventLogAppender.hh:52
HANDLE _hEventSource
Definition: NTEventLogAppender.hh:95
std::string _strSourceName
Definition: NTEventLogAppender.hh:96
int Value
The type of Priority Values.
Definition: Priority.hh:85
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