OptionalbaseBase properties to include in log output.
OptionalenabledDetermines if logging is enabled.
OptionalhooksHooks for customizing log behavior.
OptionallogMethod?: (Allows for manipulating the parameters passed to logger methods. The signature for this hook is logMethod (args, method, level) {}, where args is an array of the arguments that were passed to the log method and method is the log method itself, and level is the log level. This hook must invoke the method function by using apply, like so: method.apply(this, newArgumentsArray).
OptionalstreamWrite?: (s: string) => stringAllows for manipulating the stringified JSON log output just before writing to various transports. This function must return a string and must be valid JSON.
OptionallevelSpecifies the logging level.
OptionalmixinFunction to add custom properties to log output.
OptionalpinoIncludes the caller's file and line number in log output.
OptionalprettyEnables pretty-printing of log output.
OptionalredactDefines paths to redact from log output.
Options for configuring the logger.