Rudiments
|
Inherits logdestination.
Public Member Functions | |
syslogdestination () | |
virtual | ~syslogdestination () |
void | open (const char *ident, int32_t option, int32_t facility, int32_t priority) |
void | close () |
Public Member Functions inherited from object | |
virtual | ~object () |
The syslogdestination class writes log data to syslog.
syslogdestination::syslogdestination | ( | ) |
Creates an instance of the syslogdestination class.
|
virtual |
Deletes this instance of the syslogdestination class.
void syslogdestination::close | ( | ) |
Closes the syslog as a loggin destination.
void syslogdestination::open | ( | const char * | ident, |
int32_t | option, | ||
int32_t | facility, | ||
int32_t | priority | ||
) |
Opens the syslog as a logging destination using "option", "facility" and "priority". The string "ident" will be prepended to each message.