25#include "ignore-value.h"
49 if ((
len + 2) >=
sizeof(
buf))
bool _use_syslog
Log flag.
logbuf(int loglevel, int fd)
Constructs a new instance.
char * ptr
Pointer to next char in buffer.
char buf[1024]
The internal buffer for holding messages.
unsigned int len
Current length of buffer.
int _fd
File descriptor to use when switched off.
int overflow(int c=EOF)
Called by the associated ostream to write a character.
int _level
The log level to use with syslog.