lily
    Preparing search index...

    Interface LoggerOptions

    configuration options for logger instances.

    interface LoggerOptions {
        colourize?: boolean;
        level?: LogLevel;
        metadata?: Record<string, unknown>;
        timestamp?: boolean;
    }
    Index

    Properties

    colourize?: boolean

    whether to apply ansi colour codes to output

    level?: LogLevel

    minimum log level for this logger instance

    metadata?: Record<string, unknown>

    structured metadata to include with all log entries

    timestamp?: boolean

    whether to include timestamps in log output