![]() |
SASSY
0.0
Software Architecture Support System
|
#include <cfi/log.h>
Public Member Functions | |
| PlainFileLogger (const Path &fname) | |
| Constructor. More... | |
| int | log (Severity, csr line) |
| log to the unnamed log More... | |
| int | log (csr logName, Severity, csr line) |
| log to the named log More... | |
Public Member Functions inherited from SASSY::cfi::logger | |
| virtual | ~logger () |
| Destructor. | |
Protected Attributes | |
| std::ofstream | f |
| The logging stream. | |
Protected Attributes inherited from SASSY::cfi::logger | |
| Semaphore | sem4 |
| Mutual exclusion lock. | |
Additional Inherited Members | |
Protected Member Functions inherited from SASSY::cfi::logger | |
| logger () | |
| Constructor. | |
Writes log messages to a file without adding any formatting.
| PlainFileLogger::PlainFileLogger | ( | const Path & | fname | ) |
Constructor.
| fname | the name of the log file. |
log to the unnamed log
| sev | the severity level for the message |
| line | the message to place in the log |
Implements SASSY::cfi::logger.
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 |
Implements SASSY::cfi::logger.
1.8.5