Interface FifoLoggerOptions

interface FifoLoggerOptions {
    bindings?: Record<string, unknown>;
    level?: LevelWithSilent;
    limit?: number;
}

Properties

bindings?: Record<string, unknown>

An object of key-value pairs to include in log lines as properties.

The minimum level of events to store. Allowed values: 'fatal', 'error', 'warn', 'info', 'debug', 'trace' or 'silent'

Default

'info'
limit?: number

The maximum number of events to store.

Default

1000