UNPKG

@opentelemetry/instrumentation-winston

Version:
13 lines 625 B
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