this abstract class defines the interface for classes that provide logging methods
More...
#include <HttpServerUtil.qm.dox.h>
this abstract class defines the interface for classes that provide logging methods
◆ log()
abstract HttpServer::AbstractLogger::log |
( |
string |
fmt | ) |
|
|
pure virtual |
called to log information to the registered log code
- Parameters
-
fmt | the message to log, can be a format string, in which case additional arguments are processed with vsprintf() |
◆ logArgs()
HttpServer::AbstractLogger::logArgs |
( |
*softlist< auto > |
args | ) |
|
calls log() with the given args
- Parameters
-
args | a single string or a list of arguments used to call the log() method |
◆ logError()
abstract HttpServer::AbstractLogger::logError |
( |
string |
fmt | ) |
|
|
pure virtual |
called to log error information to the registered error log code
- Parameters
-
fmt | the error message to log, can be a format string, in which case additional arguments are processed with vsprintf() |
◆ logErrorArgs()
HttpServer::AbstractLogger::logErrorArgs |
( |
*softlist< auto > |
args | ) |
|
calls logError() with the given args
- Parameters
-
args | a single string or a list of arguments used to call the logError() method |