@vtex/api
Version:
VTEX I/O API client
15 lines (14 loc) • 415 B
TypeScript
import { IOContext } from '../worker/runtime/typings';
export interface LoggerContext extends Pick<IOContext, 'account' | 'workspace' | 'requestId' | 'operationId' | 'production'> {
tracer?: IOContext['tracer'];
}
export interface TracingState {
isTraceSampled: boolean;
traceId?: string;
}
export declare enum LogLevel {
Debug = "debug",
Info = "info",
Warn = "warn",
Error = "error"
}