Logs a debug message. The format is "[DEBUG] |{SCOPE}| message |object|", where |word| is optional. If specified in the options, nothing will be logged.
Parameters
message: string
The message to be logged.
Optionalobject: any
An optional object to log.
Returns void
error
error(message, error?): void
Logs an error message. The format is "[ERROR] |{SCOPE}| message |object|", where |word| is optional.
Parameters
message: string
The message to be logged.
Optionalerror: any
Returns void
hr
hr(n?, color?, symbol?): void
Logs one or more hr lines.
Parameters
n: number = 1
The number of hr lines to print. Default is 1.
color: string = 'white'
The colour of the font. Default is 'white'.
symbol: string = '-'
The symbol that constitutes the hr. Default is '-'.
Returns void
info
info(message, object?): void
Logs an info message. The format is "[INFO] |{SCOPE}| message |object|", where |word| is optional.
The logger class, its instances will be the euber loggers.