dxd - dynax driver framework  3208
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 = "" 
dx::redirect::~redirect ( )

Member Function Documentation

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

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Wed Jun 17 2020

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.