Options for configuring the ConsoleLogger.

interface ConsoleLoggerOptions {
    level?: LogLevel;
    colors?: boolean;
    timestamps?: boolean;
    prefix?: string;
}

Properties

level?: LogLevel

Minimum log level to display. Logs below this level will be ignored.

LogLevel.INFO
colors?: boolean

Whether to enable colored output.

true
timestamps?: boolean

Whether to include timestamps in log output.

true
prefix?: string

Custom prefix to add to all log messages.