Setu-TS
    Preparing search index...

    Interface LoggerPluginOptions

    Options for LoggerPlugin.

    0.1.0

    interface LoggerPluginOptions {
        excludePaths?: readonly PathPattern[];
        level?: LogLevel;
        logger?: ILogger;
        pinoFactory?: PinoFactory;
        pretty?: boolean;
        redact?: readonly string[];
        redaction?: RedactionPolicy | IRedactionService;
        requestLogging?: boolean;
        slowRequestThreshold?: number;
        transport?: LoggerTransport;
    }
    Index
    excludePaths?: readonly PathPattern[]

    Exact strings or regular expressions excluded from request logging.

    level?: LogLevel

    Minimum level to emit. Defaults to 'info'.

    logger?: ILogger

    Application logger, required with transport: 'custom' and refused otherwise. Framework level filtering, metadata redaction and request logging wrap this logger.

    0.11.0

    pinoFactory?: PinoFactory

    Inject a pre-loaded Pino factory for the pino transport, bypassing the import('pino') path. Useful for tests.

    0.1.0

    pretty?: boolean

    When true (and transport: 'console'), pretty-print entries.

    redact?: readonly string[]

    Dot-paths to redact from metadata (e.g. ['password', 'token']).

    A policy or service applied to every structured log record.

    requestLogging?: boolean

    When true, register automatic request/response logging middleware.

    slowRequestThreshold?: number

    Requests slower than this (ms) trigger a warn entry. Defaults to 5000.

    transport?: LoggerTransport

    Underlying logger implementation. Defaults to 'console'.