00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00023 #ifndef _LOG4CPLUS_WIN32DEBUG_APPENDER_HEADER_
00024 #define _LOG4CPLUS_WIN32DEBUG_APPENDER_HEADER_
00025
00026 #include "dcmtk/oflog/config.h"
00027 #if defined(_WIN32)
00028
00029 #include "dcmtk/oflog/appender.h"
00030 #include "dcmtk/oflog/helpers/property.h"
00031
00032
00033 namespace log4cplus {
00034
00038 class LOG4CPLUS_EXPORT Win32DebugAppender
00039 : public Appender
00040 {
00041 public:
00042
00043 Win32DebugAppender();
00044 Win32DebugAppender(const log4cplus::helpers::Properties& properties, tstring& error);
00045
00046
00047 virtual ~Win32DebugAppender();
00048
00049
00050 virtual void close();
00051
00052 protected:
00053 virtual void append(const log4cplus::spi::InternalLoggingEvent& event);
00054
00055 private:
00056
00057 Win32DebugAppender(const Win32DebugAppender&);
00058 Win32DebugAppender& operator=(const Win32DebugAppender&);
00059 };
00060
00061 }
00062
00063 #endif // _WIN32
00064 #endif // _LOG4CPLUS_WIN32DEBUG_APPENDER_HEADER_
00065