@opentelemetry/instrumentation-winston
Version:
OpenTelemetry instrumentation for `winston` logger
13 lines • 625 B
TypeScript
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import type { WinstonInstrumentationConfig } from './types';
export declare class WinstonInstrumentation extends InstrumentationBase<WinstonInstrumentationConfig> {
constructor(config?: WinstonInstrumentationConfig);
protected init(): InstrumentationNodeModuleDefinition[];
private _callHook;
private _getPatchedWrite;
private _getPatchedLog;
private _getPatchedConfigure;
private _handleLogCorrelation;
private _winstonLevelFromSeverity;
}
//# sourceMappingURL=instrumentation.d.ts.map