#include <OnixS/CME/MDH/Logger.h>
Definition at line 197 of file Logger.h.
◆ ~Logger()
◆ Logger()
Initializes the base of a concrete logger implementation.
◆ addEntry()
Acquires a mutable entry for submission to the log.
If an entry is returned, populate it through LogEntry and finish by calling LogEntry::commit(). The caller must not delete the entry.
- Parameters
-
| severity | Severity of the proposed entry. |
- Returns
- Entry to populate, or nullptr when
severity is disabled by the logger configuration or the entry cannot be created.
- Exceptions
-
| Any | exception propagated by the concrete logger implementation. |
Implemented in FileLogger, and NullLogger.
◆ info()
| virtual void info |
( |
std::string & | str | ) |
|
|
pure virtual |
Appends a description of the logger implementation to a string.
- Parameters
-
| str | Destination string to append to. |
- Exceptions
-
| Any | exception propagated by the concrete logger implementation, including string allocation and length errors. |
Implemented in FileLogger, and NullLogger.