import * as winston from "winston"; import { Logger } from "./Logger"; /** * Default application logger. This logger will print out in the console * all the log entries in json format and will add two properties, traceId and spanId for the * open telemetry library. This will allow us to see the logs in the monitoring dashboards in the * same view where traces and metrics are. */ declare class DefaultLogger implements Logger { private static CUSTOM_FORMATTER; winstonLogger: winston.Logger; constructor(serviceName: string, logLevel?: string); reloadLevel(level: string): void; info(msg: string, ...data: any): void; debug(msg: string, ...data: any): void; log(msg: string, ...data: any): void; warn(msg: string, ...data: any): void; error(msg: string, data?: Error | any): void; silly(msg: string, data?: Error | any): void; } export { DefaultLogger };