Win32DebugAppender.hh
Go to the documentation of this file.
1 /*
2  * Win32DebugAppender.hh
3  *
4  *
5  * See the COPYING file for the terms of usage and distribution.
6  */
7 
8 #ifndef _LOG4CPP_WIN32DEBUGAPPENDER_HH
9 #define _LOG4CPP_WIN32DEBUGAPPENDER_HH
10 
11 #ifdef _WIN32 // only use this on Win32
12 
13 #include <string>
14 #include "log4cpp/Export.hh"
16 
18 
25 class LOG4CPP_EXPORT Win32DebugAppender : public LayoutAppender {
26 public:
31  Win32DebugAppender(const std::string& name);
35  virtual ~Win32DebugAppender();
36 
41  virtual void close();
42 
43 protected:
49  virtual void _append(const LoggingEvent& event);
50 
51 private:
52  // suppress assignment operator
53  Win32DebugAppender & operator=(const Win32DebugAppender &);
54 };
56 
57 #else // WIN32
58 #error NTEventLoggAppender is not available on on Win32 platforms
59 #endif // WIN32
60 
61 #endif // _LOG4CPP_WIN32DEBUGAPPENDER_HH
#define LOG4CPP_NS_END
Definition: Portability.hh:50
The top level namespace for all &#39;Log for C++&#39; types and classes.
Definition: LoggingEvent.hh:32
virtual void _append(const LoggingEvent &event)=0
Log in Appender specific way.
LayoutAppender is a common superclass for all Appenders that require a Layout.
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections...
#define LOG4CPP_EXPORT
Definition: Export.hh:21
LayoutAppender & operator=(const LayoutAppender &)
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54