|
ADTF
|
#include <log.h>
Public Member Functions | |
| virtual void | ReportFatal (tResult oError) noexcept=0 |
| virtual void | ReportRecoverable (tResult oError) noexcept=0 |
| virtual void | Log (tLogLevel eLevel, const tSourceLocation &sLocation, const char *strFormat,...) noexcept=0 |
| virtual tResult | Annotate (tResult oResult) const noexcept=0 |
| virtual bool | IsEnabled (tLogLevel eLevel) const noexcept=0 |
Interface for a log channel.
|
nodiscardpure virtualnoexcept |
Annotate the given result with the context information of the log channel.
| [in] | oResult | The result that should be annotated. |
|
nodiscardpure virtualnoexcept |
Check whether or not the given log level is enabled at the log channel.
| [in] | eLevel | The log level. |
|
pure virtualnoexcept |
Logs a message.
| [in] | eLevel | The log level at which to log the message. |
| [in] | sLocation | The source location at which the log message is generated. |
| [in] | strFormat | The format string of the message. |
|
pure virtualnoexcept |
Reports a fatal error that has to result in a session stop/shutdown.
Keep in mind that you have to deal with the error situation even after reporting the error.
| oError | The result describing the error. |
|
pure virtualnoexcept |
Reports an recoverable error that may result in a session stop/shutdown depending on the users choice.
Keep in mind that you have to deal with the error situation even after reporting the error.
| oError | The result describing the error. |