import { Bindings, LoggerOptions } from 'pino'; import { ErrorJson } from '..'; import { MethodContext, RequestContext } from '.'; export type LogLevel = 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'silent'; /** * @classdesc Designed to log information in a uniform way to make parsing easier */ export declare class Logger { private readonly opts; readonly forcedLevel?: LogLevel | undefined; private readonly dest?; private readonly sync; private log; sanitizedValue: string; constructor(opts: LoggerOptions, forcedLevel?: LogLevel | undefined, dest?: string | number | undefined, sync?: boolean); child(bindings: Bindings, forcedLevel?: LogLevel, dest?: number | string, sync?: boolean): Logger; debug(msg: string, requestContext?: RequestContext, methodContext?: MethodContext, ctx?: any): void; info(msg: string, requestContext?: RequestContext, methodContext?: MethodContext, ctx?: any): void; warn(msg: string, requestContext?: RequestContext, methodContext?: MethodContext, ctx?: any): void; error(msg: string, requestContext?: RequestContext, methodContext?: MethodContext, error?: ErrorJson, ctx?: any): void; private print; private createDefaultRedactOption; } //# sourceMappingURL=logger.d.ts.map