dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::redirect::syslog Class Reference

redirect stdout to syslog More...

#include <dx_syslog.h>

Inheritance diagram for dx::redirect::syslog:
Collaboration diagram for dx::redirect::syslog:

Public Member Functions

 syslog(std::ostream& stream, int facility= LOG_NOTICE, const char* prefix= "", const char* suffix= "")
 ~syslog()

Protected Member Functions

std::streambuf::int_type overflow(std::streambuf::int_type= EOF) override
std::streamsize xsputn(const char* msg, std::streamsize count) override

Detailed Description

redirect stdout to syslog

Deprecated
use macOS unified logging dx::redirect::log

Constructor & Destructor Documentation

◆ syslog()

dx::redirect::syslog::syslog(std::ostream& stream, int facility= LOG_NOTICE, const char* prefix= "", const char* suffix= "")
inline
Here is the caller graph for this function:

◆ ~syslog()

dx::redirect::syslog::~syslog()
inline

Member Function Documentation

◆ overflow()

std::streambuf::int_type dx::redirect::syslog::overflow(std::streambuf::int_type= EOF)
inlineoverrideprotected
Here is the call graph for this function:

◆ 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: