#include <svcproc.h>
Inheritance diagram for PSystemLog:
Construction | |
enum | Level { StdError = -1, Fatal, Error, Warning, Info, Debug, Debug2, Debug3, Debug4, Debug5, Debug6, NumLogLevels } |
define the different error log levels More... | |
PSystemLog (Level level) | |
Create a system log stream. | |
~PSystemLog () | |
Destroy the string stream, deleting the stream buffer. | |
Public Types | |
Public Member Functions | |
Miscellaneous functions | |
void | SetLevel (Level level) |
Level | GetLevel () const |
Static Public Member Functions | |
Output functions | |
void | Output (Level level, const char *msg) |
|
|
Create a system log stream.
|
|
Destroy the string stream, deleting the stream buffer.
|
|
Get the current level for logging.
|
|
Log an error into the system log.
|
|
Set the level at which errors are logged. Only messages higher than or equal to the specified level will be logged.
|