MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / trace

Method trace

packages/core/src/v3/logger/index.ts:50–52  ·  view source on GitHub ↗
(name: string, fn: (span: Span) => Promise<T>)

Source from the content-addressed store, hash-verified

48 }
49
50 public trace<T>(name: string, fn: (span: Span) => Promise<T>): Promise<T> {
51 return this.#getTaskLogger().trace(name, fn);
52 }
53
54 #getTaskLogger(): TaskLogger {
55 return getGlobal(API_NAME) ?? NOOP_TASK_LOGGER;

Callers

nothing calls this directly

Calls 2

#getTaskLoggerMethod · 0.95
traceMethod · 0.65

Tested by

no test coverage detected