dxd - dynax driver framework 2.1.0d48
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 () noexcept
 

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

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Feb 23 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.