|
VICI
0.11.815
Visual Chart Interpreter
|
A stream class specialized for logging. More...
#include <vici/log.h>
Public Member Functions | |
| virtual | ~logstream () |
| destructor | |
| void | severity (Severity sev) |
| Set the severity for the current message. More... | |
Static Public Member Functions | |
| static logstream & | instance () |
| Get an instance of the unnamed stream. More... | |
| static logstream & | instance (csr name) |
| Get an instance of a named stream. More... | |
Protected Member Functions | |
| logstream (std::streambuf *buf) | |
| Static pointer to only instance of the anonymous object. More... | |
A stream class specialized for logging.
There is an unnamed stream that is the default, and named streams for special purposes. The streams pick up their characteristics from XINI configuration file:
|
protected |
Static pointer to only instance of the anonymous object.
Single instances of named streams. Private constructor.
| buf | pointer to a standard stream buffer |
|
static |
Get an instance of the unnamed stream.
Get an instance of a named stream.
| name | name of the log stream used in the config file |
| void logstream::severity | ( | Severity | sev | ) |
Set the severity for the current message.
| sev | new severity to use for the following messages |
1.8.5