MCPcopy
hub / github.com/triggerdotdev/trigger.dev / NoopTaskLogger

Class NoopTaskLogger

packages/core/src/v3/logger/taskLogger.ts:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98export class NoopTaskLogger implements TaskLogger {
99 debug() {}
100 log() {}
101 info() {}
102 warn() {}
103 error() {}
104 trace<T>(name: string, fn: (span: Span) => Promise<T>): Promise<T> {
105 return fn({} as Span);
106 }
107}
108
109function safeJsonProcess(value?: Record<string, unknown>): Record<string, unknown> | undefined {
110 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…