Logger interface
Interface for customized logger.
Methods
error(string) | Writes to error level logging or lower. |
info(string) | Writes to info level logging or lower. |
verbose(string) | Writes to verbose level logging. |
warn(string) | Writes to warning level logging or lower. |
Method Details
error(string)
Writes to error level logging or lower.
function error(message: string)
Parameters
- message
-
string
info(string)
Writes to info level logging or lower.
function info(message: string)
Parameters
- message
-
string
verbose(string)
Writes to verbose level logging.
function verbose(message: string)
Parameters
- message
-
string
warn(string)
Writes to warning level logging or lower.
function warn(message: string)
Parameters
- message
-
string