Win32DebugAppender.hh
Go to the documentation of this file.
00001 /*
00002  * Win32DebugAppender.hh
00003  *
00004  *
00005  * See the COPYING file for the terms of usage and distribution.
00006  */
00007 
00008 #ifndef _LOG4CPP_WIN32DEBUGAPPENDER_HH
00009 #define _LOG4CPP_WIN32DEBUGAPPENDER_HH
00010 
00011 #ifdef _WIN32   // only use this on Win32
00012 
00013 #include <string>
00014 #include "log4cpp/Export.hh"
00015 #include "log4cpp/LayoutAppender.hh"
00016 
00017 LOG4CPP_NS_BEGIN
00018 
00025 class LOG4CPP_EXPORT Win32DebugAppender : public LayoutAppender {
00026 public:
00031     Win32DebugAppender(const std::string& name);
00035     virtual ~Win32DebugAppender();
00036 
00041     virtual void close();
00042 
00043 protected:
00049     virtual void _append(const LoggingEvent& event);
00050 
00051 private:
00052     // suppress assignment operator
00053     Win32DebugAppender & operator=(const Win32DebugAppender &);
00054 };
00055 LOG4CPP_NS_END
00056 
00057 #else // WIN32
00058 #error NTEventLoggAppender is not available on on Win32 platforms
00059 #endif  // WIN32
00060 
00061 #endif // _LOG4CPP_WIN32DEBUGAPPENDER_HH


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:07