wibble
1.1
wibble
log
syslog.h
Go to the documentation of this file.
1
#include <
wibble/sys/macros.h
>
2
3
#ifdef POSIX
4
#ifndef WIBBLE_LOG_SYSLOG_H
5
#define WIBBLE_LOG_SYSLOG_H
6
7
#include <
wibble/log/stream.h
>
8
#include <
syslog.h
>
9
10
namespace
wibble
{
11
namespace
log {
12
14
struct
SyslogSender :
public
Sender
15
{
16
protected
:
17
void
* out;
18
std::string name;
19
20
public
:
21
SyslogSender(
const
std::string& ident,
int
option = LOG_PID,
int
facility = LOG_USER);
22
virtual
~SyslogSender();
23
24
virtual
void
send(
Level
level,
const
std::string& msg);
25
};
26
27
}
28
}
29
30
// vim:set ts=4 sw=4:
31
#endif
32
#endif
wibble::log::Level
Level
Urgency of a log message.
Definition:
stream.h:11
stream.h
macros.h
syslog.h
wibble
Definition:
amorph.h:17
Generated by
1.8.13