|
VICI
0.11.815
Visual Chart Interpreter
|
Class for producing a formatted log message. More...
#include <vici/log.h>
Protected Member Functions | |
| std::string | timeStamp () |
| generates a string containing the current time More... | |
| csr | hostname () |
| generates a string containing the hostname. | |
| csr | process () |
| generates a string containing the process id | |
| csr | severity (Severity) |
| generates a string containing the severity level | |
| int | format (std::ostream &s, Severity sev, csr msg) |
| output the message to the stream More... | |
Protected Member Functions inherited from VICI::cfi::logger | |
| logger () | |
| Constructor. | |
Additional Inherited Members | |
Public Member Functions inherited from VICI::cfi::logger | |
| virtual | ~logger () |
| Destructor. | |
| virtual int | log (Severity sev, csr line)=0 |
| log to the unnamed log More... | |
| virtual int | log (csr logName, Severity sev, csr line)=0 |
| log to the named log More... | |
Protected Attributes inherited from VICI::cfi::logger | |
| Semaphore | sem4 |
| Mutual exclusion lock. | |
Class for producing a formatted log message.
Provides a common formatting function for the different loggers. Writes log messages with a time stamp, host name, and process id in addition to the severity and the message.
output the message to the stream
| s | the log stream to write to |
| sev | the severity level to use |
| msg | the message to write to the log |
|
protected |
generates a string containing the current time
1.8.5