Qore HttpServerUtil Module Reference  0.9.4
HttpServer::AbstractLogger Class Referenceabstract

this abstract class defines the interface for classes that provide logging methods More...

Inheritance diagram for HttpServer::AbstractLogger:

Public Member Methods

abstract log (string fmt)
 called to log information to the registered log code More...
 
 logArgs (*softlist< auto > args)
 calls log() with the given args More...
 
abstract logError (string fmt)
 called to log error information to the registered error log code More...
 
 logErrorArgs (*softlist< auto > args)
 calls logError() with the given args More...
 

Detailed Description

this abstract class defines the interface for classes that provide logging methods

Member Function Documentation

◆ log()

abstract HttpServer::AbstractLogger::log ( string  fmt)
pure virtual

called to log information to the registered log code

Parameters
fmtthe 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
argsa 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
fmtthe 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
argsa single string or a list of arguments used to call the logError() method