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
"
15
#include "
log4cpp/LayoutAppender.hh
"
16
17
LOG4CPP_NS_BEGIN
18
19
#ifdef _WIN32
20
27
class
LOG4CPP_EXPORT
Win32DebugAppender :
public
LayoutAppender
{
28
public
:
33
Win32DebugAppender(
const
std::string& name);
37
virtual
~Win32DebugAppender();
38
43
virtual
void
close
();
44
45
protected
:
51
virtual
void
_append
(
const
LoggingEvent
& event);
52
53
private
:
54
// suppress assignment operator
55
Win32DebugAppender &
operator=
(
const
Win32DebugAppender &);
56
};
57
LOG4CPP_NS_END
58
59
#else // WIN32
60
#error NTEventLoggAppender is not available on on Win32 platforms
61
#endif // WIN32
62
63
#endif // _WIN32
64
65
#endif // _LOG4CPP_WIN32DEBUGAPPENDER_HH
LoggingEvent
The top level namespace for all 'Log for C++' types and classes.
Definition:
LoggingEvent.hh:32
AppenderSkeleton::close
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections,...
LayoutAppender::operator=
LayoutAppender & operator=(const LayoutAppender &)
LOG4CPP_NS_BEGIN
#define LOG4CPP_NS_BEGIN
Definition:
Portability.hh:49
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition:
Portability.hh:50
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition:
Export.hh:21
Export.hh
LayoutAppender.hh
LayoutAppender
LayoutAppender is a common superclass for all Appenders that require a Layout.
Definition:
LayoutAppender.hh:24
AppenderSkeleton::_append
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:12