VICI
0.11.815
Visual Chart Interpreter
|
An abstract base class used by the log stream to write logs. More...
#include <vici/log.h>
Public Member Functions | |
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 Member Functions | |
logger () | |
Constructor. | |
Protected Attributes | |
Semaphore | sem4 |
Mutual exclusion lock. | |
An abstract base class used by the log stream to write logs.
This is the API that libraries must implement to be used as a logging stream.
log to the unnamed log
sev | the severity level for the message |
line | the message to place in the log |
Implemented in VICI::cfi::SystemLogger, VICI::cfi::TraceLogger, VICI::cfi::UDPLogger, VICI::cfi::PlainFileLogger, VICI::cfi::FileLogger, and VICI::cfi::StdLogger.
log to the named log
logName | the name of the log stream to write to |
sev | the severity level for the message |
line | the message to place in the log |
Implemented in VICI::cfi::SystemLogger, VICI::cfi::TraceLogger, VICI::cfi::UDPLogger, VICI::cfi::PlainFileLogger, VICI::cfi::FileLogger, and VICI::cfi::StdLogger.