Skip to content

Configuration

Defined in: node_modules/kerium/dist/log.d.ts:96

optional dumpBacklog?: boolean

Defined in: node_modules/kerium/dist/log.d.ts:126

If set, output() all current entries after configure is done

false

optional enabled?: boolean

Defined in: node_modules/kerium/dist/log.d.ts:101

If false, log messages will not be recorded or outputted

false

optional level?: "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

Level.ALERT

optional stack?: boolean

Defined in: node_modules/kerium/dist/log.d.ts:111

Whether to include stack traces.

false

optional format(this, entry): string | Iterable<string, any, any>

Defined in: node_modules/kerium/dist/log.d.ts:116

Formats a log entry into a string

void

Entry

string | Iterable<string, any, any>

[${ms / 1000}] ${message}


optional output(this, …message): unknown

Defined in: node_modules/kerium/dist/log.d.ts:121

Outputs a log message

void

string[]

unknown

console.error()