Go to the documentation of this file.
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
60 NTEventLogAppender(
const std::string& name,
const std::string& sourceName);
61 virtual ~NTEventLogAppender();
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);
96 std::string _strSourceName;
101 #error NTEventLoggAppender is not available on on Win32 platforms
104 #endif // _LOG4CPP_NTEVENTLOGAPPENDER_HH
The top level namespace for all 'Log for C++' types and classes.
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections,...
Extend this abstract class to create your own log layout format.
int Value
The type of Priority Values.
AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already takes care of...
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
virtual bool requiresLayout() const =0
Check if the appender uses a layout.
virtual void setLayout(Layout *layout)=0
Set the Layout for this appender.
virtual void _append(const LoggingEvent &event)=0
Log in Appender specific way.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11