![]() |
Diarkis C++Client Library API Document
|
Interface class for manipulating logging functions. More...
#include <Logger.h>
Public Member Functions | |
virtual const StdString | GetCategory ()=0 |
Get log category. More... | |
virtual DiarkisLoggerSeverity | GetSeverity ()=0 |
Get the current log severity. More... | |
virtual void | SetSeverity (DiarkisLoggerSeverity severity)=0 |
Set new log severity. More... | |
virtual void | SetServerType (const StdString &type)=0 |
Configure a server type to be included in log output. More... | |
virtual size_t | GetTraceOutputBytes ()=0 |
Get the current maximum size of the payload to be dumped at DiarkisLoggerSeverity::Trace log level. More... | |
virtual void | SetTraceOutputBytes (size_t bytes)=0 |
Specifies the maximum size of the payload to be dumped at DiarkisLoggerSeverity::Trace log level. More... | |
virtual void | Log (DiarkisLoggerSeverity severity, const StdString &message, bool includeNewLine=true)=0 |
Log output. More... | |
Interface class for manipulating logging functions.
This class has functions to set log severity and perform log output.
|
pure virtual |
Get log category.
Implemented in DelegateLogger.
|
pure virtual |
Get the current log severity.
Implemented in DelegateLogger.
|
pure virtual |
Set new log severity.
Implemented in DelegateLogger.
|
pure virtual |
Configure a server type to be included in log output.
Implemented in DelegateLogger.
|
pure virtual |
Get the current maximum size of the payload to be dumped at DiarkisLoggerSeverity::Trace log level.
Implemented in DelegateLogger.
|
pure virtual |
Specifies the maximum size of the payload to be dumped at DiarkisLoggerSeverity::Trace log level.
Implemented in DelegateLogger.
|
pure virtual |
Log output.
[in] | severity | Severity level of logging |
[in] | message | Message to log output |
[in] | includeNewLine | Whether to add a new line or not true=include |
Implemented in DelegateLogger.