dxd - dynax driver framework  2799
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::redirect Class Reference

redirect stdout to syslog More...

#include <dx_syslog.h>

+ Inheritance diagram for dx::redirect:
+ Collaboration diagram for dx::redirect:

Public Member Functions

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

Protected Member Functions

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

Detailed Description

redirect stdout to syslog

Constructor & Destructor Documentation

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

Member Function Documentation

int dx::redirect::overflow ( int  c = EOF)
inlineoverrideprotected
std::streamsize dx::redirect::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 Thu Sep 19 2019

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.