interface LoggingOpts {
    colorize?: boolean;
    console?: "error" | "off" | "warn" | "info" | "debug" | "trace";
    json?: boolean;
    timestampFormat?: string;
}

Hierarchy (view full)

Properties

colorize?: boolean

Should the logs color-code the level strings in the output.

console?: "error" | "off" | "warn" | "info" | "debug" | "trace"

The log level used by the console output.

json?: boolean

Should the logs be outputted in JSON format, for consumption by a collector.

timestampFormat?: string

Timestamp format used in the log output.

Default

"HH:mm:ss:SSS"

Generated using TypeDoc