export enum TARGET {
CONSOLE = 'CONSOLE',
ZIPKIN = 'ZIPKIN',
TELEMETRY = 'TELEMETRY',
}
export type SpanId = string
export const traceGlobals: Map<any, any> = new Map()
export const setGlobal = (key: any, val: any) => {
traceGlobals.set(key, val)
export const debugLog = !!process.env.TRACE_DEBUG
? console.info
: function noop() {}