JsonLogger overview
JSON logger.
Added in v1.0.0
Table of contents
constructors
make
Signature
export declare const make: (options?: Partial<Options>) => Logger.Logger<unknown, void>
Added in v1.0.0
layers
layer
Signature
export declare const layer: (options?: Partial<Options>) => Layer.Layer<never, never, never>
Added in v1.0.0
models
Options (interface)
Signature
export interface Options {
showFiberId: boolean
showTime: boolean
showSpans: boolean
messageField: string
logLevelField: string
logLevelFormat: "lowercase" | "uppercase" | "capitalized"
}
Added in v1.0.0