logzen
    Preparing search index...

    Interface LoggerOptions

    Options for configuring the Logger.

    interface LoggerOptions {
        disableClearing: boolean;
        format: string;
        formatOptions: FormatOptions;
        hideErrorStack: boolean;
        hideWarningStack: boolean;
        noGlobalConsole: boolean;
        prefix: string;
        retainLogs: boolean;
    }
    Index

    Properties

    disableClearing: boolean

    Whether to disable clearing log entries

    false
    
    format: string

    The format to use for log messages

    formatMessage

    '(%c) [%p%l] %s'
    
    formatOptions: FormatOptions

    Options to use for formatting

    FormatOptions

    hideErrorStack: boolean

    Whether logged errors will include a stack

    false
    
    hideWarningStack: boolean

    Whether logged warnings will include a stack

    false
    
    noGlobalConsole: boolean

    Whether to attach the global console to the Logger during initialization.

    false
    
    prefix: string

    The prefix to use (will not affect "passthrough" messages)

    retainLogs: boolean

    Whether to retain logs in memory.

    false