lily
    Preparing search index...

    Interface FormatterOptions

    configuration options for log formatters.

    interface FormatterOptions {
        colourize?: boolean;
        showScope?: boolean;
        timeFormat?: "time" | "iso" | "locale" | ((date: Date) => string);
        timestamp?: boolean;
    }
    Index

    Properties

    colourize?: boolean

    whether to apply ansi colour codes to output

    showScope?: boolean

    whether to display the scope in formatted output

    timeFormat?: "time" | "iso" | "locale" | ((date: Date) => string)

    format for timestamp display

    timestamp?: boolean

    whether to include timestamps in formatted output