Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
i
l
m
n
u
v
Typedefs
a
c
d
e
g
i
m
n
o
p
s
u
v
Enumerations
_
e
g
h
i
p
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
c
d
e
f
i
n
o
r
s
t
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Functions
c
d
e
g
i
l
m
o
p
r
t
Variables
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
p
s
t
u
Enumerations
a
b
c
d
e
f
g
i
p
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
y
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
OstreamAppender.hh
Go to the documentation of this file.
1
/*
2
* OstreamAppender.hh
3
*
4
* Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5
* Copyright 2000, Bastiaan Bakker. All rights reserved.
6
*
7
* See the COPYING file for the terms of usage and distribution.
8
*/
9
10
#ifndef _LOG4CPP_OSTREAMAPPENDER_HH
11
#define _LOG4CPP_OSTREAMAPPENDER_HH
12
13
#include <
log4cpp/Portability.hh
>
14
#include <string>
15
#include <iostream>
16
#include <
log4cpp/LayoutAppender.hh
>
17
18
LOG4CPP_NS_BEGIN
19
23
class
LOG4CPP_EXPORT
OstreamAppender
:
public
LayoutAppender
{
24
public
:
25
OstreamAppender
(
const
std::string& name, std::ostream* stream);
26
virtual
~
OstreamAppender
();
27
28
virtual
bool
reopen
();
29
virtual
void
close
();
30
31
protected
:
32
virtual
void
_append
(
const
LoggingEvent
& event);
33
34
std::ostream*
_stream
;
35
};
36
LOG4CPP_NS_END
37
38
#endif // _LOG4CPP_OSTREAMAPPENDER_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,...
Portability.hh
LOG4CPP_NS_BEGIN
#define LOG4CPP_NS_BEGIN
Definition:
Portability.hh:49
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition:
Portability.hh:50
OstreamAppender
OstreamAppender appends LoggingEvents to ostreams.
Definition:
OstreamAppender.hh:23
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition:
Export.hh:21
OstreamAppender::_stream
std::ostream * _stream
Definition:
OstreamAppender.hh:34
AppenderSkeleton::reopen
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
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:11