Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
Slog Class Reference
The slog class is used to stream messages to the system logging fascility. system logging fascility class.
More...
#include <slog.h>
Inheritance diagram for Slog:
List of all members.
Detailed Description
The slog class is used to stream messages to the system logging fascility. system logging fascility class.
A default "slog" object is used to avoid confusion with the native syslog fascility and to imply a logical relationship to the C++ clog().
The key difference is that the "slog" object sends it's output to the system logging daemon (typically syslogd) rather than through stderr. "slog" can be streamed with the << operator just like "clog". "slog" can also accept arguments to specify logging severity level, etc.
-
Author(s):
-
David Sugar <dyfet@ostel.com>
Constructor & Destructor Documentation
Member Function Documentation
void Slog::close (
|
void )
|
|
void Slog::open (
|
const char * ident,
|
|
slog_class_t grp = SLOG_USER )
|
|
Slog& Slog::operator() (
|
void )
|
|
int Slog::overflow (
|
int c )
|
|
The documentation for this class was generated from the following file:
Generated at Fri Dec 15 07:08:33 2000 for CommonC++ by
1.2.1 written by Dimitri van Heesch,
© 1997-2000