61 std::streambuf *buffer;
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:299
virtual ~logger()
Destructor.
Definition: log.h:115
Severity
Severity levels for log messages.
Definition: vx.h:48
virtual int log(Severity sev, csr line)=0
log to the unnamed log
Declarations for a wrapper for the UDP socket.
static logstream & instance()
Get an instance of the unnamed stream.
Definition: log.cpp:548
void severity(Severity sev)
Set the severity for the current message.
Definition: log.cpp:584
UDPLogger(csr hostname, int port)
Definition: log.cpp:258
Stream
Enumeration of the standard streams.
Definition: log.h:182
Semaphore sem4
Mutual exclusion lock.
Definition: log.h:111
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:234
std::ofstream f
The logging stream.
Definition: log.h:283
logger that interfaces to the Linux syslog
Definition: log.h:301
std::ofstream f
The logging stream.
Definition: log.h:214
StdLogger(Stream cc)
Constructor.
Definition: log.h:190
UDPClientSocket socket
the udp socket connected to the logging server
Definition: log.h:261
logger()
Constructor.
Definition: log.h:112
PlainFileLogger(const Path &fname)
Constructor.
Definition: log.cpp:220
SystemLogger(csr ident)
Definition: log.cpp:321
virtual ~logstream()
destructor
Definition: log.cpp:538
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:263
Manipulate path strings.
Definition: stringy.h:74
TraceLogger(const Path &fname)
Definition: log.cpp:286
logstream(std::streambuf *buf)
Static pointer to only instance of the anonymous object.
Definition: log.cpp:532
A UDP client socket.
Definition: udpsocket.h:110
Class for logging to a file.
Definition: log.h:210
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:200
Class for logging to a logging server.
Definition: log.h:257
An exception object with stream semantics.
Class for logging to the std output streams.
Definition: log.h:178
FileLogger(const Path &fname)
Constructor.
Definition: log.cpp:186
std::ofstream f
The logging stream.
Definition: log.h:238
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:156
A semaphore for managing exclusive access to resources across multiple processes. ...
Definition: ipc.h:63
const std::string & csr
short cut for string constants
Definition: vici.h:80
int log(Severity, csr line)
log to the unnamed log
Definition: log.cpp:329
Declarations for the semaphore component of libcfi.
Class for logging tracing output.
Definition: log.h:279
An abstract base class used by the log stream to write logs.
Definition: log.h:108
A stream class specialized for logging.
Definition: log.h:58