redirect stdout to syslog
More...
#include <dx_syslog.h>
|
| syslog (std::ostream &stream, int facility=LOG_NOTICE, const char *prefix="", const char *suffix="") |
|
| ~syslog () noexcept |
|
|
std::streambuf::int_type | overflow (std::streambuf::int_type=EOF) override |
|
std::streamsize | xsputn (const char *msg, std::streamsize count) override |
|
redirect stdout to syslog
◆ syslog()
dx::redirect::syslog::syslog |
( |
std::ostream & | stream, |
|
|
int | facility = LOG_NOTICE, |
|
|
const char * | prefix = "", |
|
|
const char * | suffix = "" ) |
|
inline |
◆ ~syslog()
dx::redirect::syslog::~syslog |
( |
| ) |
|
|
inlinenoexcept |
◆ overflow()
std::streambuf::int_type dx::redirect::syslog::overflow |
( |
std::streambuf::int_type | = EOF | ) |
|
|
inlineoverrideprotected |
◆ xsputn()
std::streamsize dx::redirect::syslog::xsputn |
( |
const char * | msg, |
|
|
std::streamsize | count ) |
|
inlineoverrideprotected |
The documentation for this class was generated from the following file: