vsce-winston-logging - v1.1.0
    Preparing search index...

    Interface ExtensionLoggerOptions

    Options for ExtensionLogger.

    interface ExtensionLoggerOptions {
        name: string;
        show?: boolean;
        format?: (info: TransformableInfo) => string;
        transports?: TransportStream[];
        configSection?: string;
    }
    Index
    name: string

    Output channel name, usually the extension's display name.

    show?: boolean

    Reveals the output channel when the logger is created. Defaults to false.

    format?: (info: TransformableInfo) => string

    Formats the message body of each line. Defaults to defaultFormat.

    transports?: TransportStream[]

    Additional Winston transports, alongside the output channel. They follow the channel's level like the output channel does, and are closed when the logger is disposed. Each uses its own format, so format does not apply to them.

    configSection?: string

    The extension's configuration section, such as "myExt". When set, the section's settings are logged at debug level when the logger is created.