unnbound-logger-sdk
Version:
A structured logging library with TypeScript support using Pino. Provides consistent, well-typed logging with automatic logId, workflowId, traceId, and deploymentId tracking across operational contexts.
11 lines (10 loc) • 318 B
TypeScript
declare class TraceContextManager {
private static instance;
private storage;
private constructor();
static getInstance(): TraceContextManager;
run<T>(traceId: string, callback: () => T): T;
getTraceId(): string | undefined;
}
export declare const traceContext: TraceContextManager;
export {};