log4cpp
1.1.6
Toggle main menu visibility
Loading...
Searching...
No Matches
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 "
log4cpp/Export.hh
"
14
#include "
log4cpp/LayoutAppender.hh
"
15
#include <string>
16
17
namespace
log4cpp
{
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
}
// namespace log4cpp
52
53
#else
// WIN32
54
#error NTEventLoggAppender is not available on on Win32 platforms
55
#endif
// WIN32
56
57
#endif
// _LOG4CPP_WIN32DEBUGAPPENDER_HH
Export.hh
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition
Export.hh:26
LayoutAppender.hh
log4cpp::LayoutAppender::LayoutAppender
LayoutAppender(const std::string &name)
Definition
LayoutAppender.cpp:15
log4cpp::Win32DebugAppender::close
virtual void close()
Close method.
Definition
Win32DebugAppender.cpp:35
log4cpp::Win32DebugAppender::_append
virtual void _append(const LoggingEvent &event)
Method that does the actual work.
Definition
Win32DebugAppender.cpp:37
log4cpp::Win32DebugAppender::Win32DebugAppender
Win32DebugAppender(const std::string &name)
Constructor.
Definition
Win32DebugAppender.cpp:29
log4cpp
The top level namespace for all 'Log for C++' types and classes.
Definition
AbortAppender.hh:16
log4cpp::LoggingEvent
The internal representation of logging events.
Definition
LoggingEvent.hh:32
include
log4cpp
Win32DebugAppender.hh
Generated by
1.17.0