UNPKG

@russ-b/nestjs-common-tools

Version:
14 lines (13 loc) 477 B
import { type Params } from 'nestjs-pino'; export type PinoLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal' | 'silent'; export interface PinoLoggerConfig { appName: string; level?: PinoLogLevel; pretty?: boolean; logHttpRequests?: boolean; version?: string; environment?: string; redactPaths?: string[]; base?: Record<string, unknown>; } export declare function createPinoLoggerModuleOptions(config: PinoLoggerConfig): Params;