Configuration
Defined in: node_modules/kerium/dist/log.d.ts:96
Properties
Section titled “Properties”dumpBacklog?
Section titled “dumpBacklog?”
optionaldumpBacklog?:boolean
Defined in: node_modules/kerium/dist/log.d.ts:126
If set, output() all current entries after configure is done
Default
Section titled “Default”falseenabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: node_modules/kerium/dist/log.d.ts:101
If false, log messages will not be recorded or outputted
Default
Section titled “Default”falselevel?
Section titled “level?”
optionallevel?:"error"|"emergency"|"alert"|"critical"|"warning"|"notice"|"info"|"debug"|Level
Defined in: node_modules/kerium/dist/log.d.ts:106
The minimum level needed to output a message
Default
Section titled “Default”Level.ALERTstack?
Section titled “stack?”
optionalstack?:boolean
Defined in: node_modules/kerium/dist/log.d.ts:111
Whether to include stack traces.
Default
Section titled “Default”falseMethods
Section titled “Methods”format()?
Section titled “format()?”
optionalformat(this,entry):string|Iterable<string,any,any>
Defined in: node_modules/kerium/dist/log.d.ts:116
Formats a log entry into a string
Parameters
Section titled “Parameters”void
Returns
Section titled “Returns”string | Iterable<string, any, any>
Default
Section titled “Default”[${ms / 1000}] ${message}
output()?
Section titled “output()?”
optionaloutput(this, …message):unknown
Defined in: node_modules/kerium/dist/log.d.ts:121
Outputs a log message
Parameters
Section titled “Parameters”void
message
Section titled “message”…string[]
Returns
Section titled “Returns”unknown
Default
Section titled “Default”console.error()