solarwinds-apm
Version:
OpenTelemetry-based SolarWinds APM library
13 lines • 540 B
TypeScript
import { type DiagLogFunction, type DiagLogger } from "@opentelemetry/api";
import { type Configuration } from "./config.js";
/** Node.js logger that outputs nice coloured messages in TTYs and JSON otherwise */
export declare class Logger implements DiagLogger {
#private;
readonly error: DiagLogFunction;
readonly warn: DiagLogFunction;
readonly info: DiagLogFunction;
readonly debug: DiagLogFunction;
readonly verbose: DiagLogFunction;
constructor(config: Configuration);
}
//# sourceMappingURL=logger.d.ts.map