basalt / logger/src / LoggerOptions
Interface: LoggerOptions
Defined in: logger/src/index.ts:254
Properties
base?
> optional base?: Bindings
Defined in: logger/src/index.ts:284
Fixed fields included in every log entry.
Example: { service: 'api', version: '1.0.0' }
destination?
> optional destination?: DestinationStream
Defined in: logger/src/index.ts:291
Destination stream used by Pino.
Useful for tests or custom output streams.
level?
> optional level?: "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent"
Defined in: logger/src/index.ts:260
Minimum log level — one of LOG_LEVELS. 'silent' disables output.
Default
"info"pretty?
> optional pretty?: boolean
Defined in: logger/src/index.ts:269
Human-readable output for development.
Requires pino-pretty to be installed.
Default
falseredact?
> optional redact?: string[]
Defined in: logger/src/index.ts:276
Additional paths to redact from log output.
These are added to the default redaction paths.