ErrorLog::UnsetSyslog()
Stop writing errors to syslog.
|
Virtual? |
No |
|
|
Class |
||
|
Arguments |
None |
|
|
Returns |
|
Notes
UnsetSyslog()
reverses the effect of SetSyslog() by
resetting the Error object to output to
stderr.
Example
The following example prints an error message to
syslog and then resets the Error back to
using stderr for output.
ClientApi client; Error e; client.Init( &e ); ErrorLog::SetSyslog(); ErrorLog::Report(); ErrorLog::UnsetSyslog();