MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / createTracingDecorator

Function createTracingDecorator

src/platform/logging/index.ts:314–319  ·  view source on GitHub ↗
(logInfo: LogInfo)

Source from the content-addressed store, hash-verified

312 };
313}
314function createTracingDecorator(logInfo: LogInfo) {
315 return traceDecorator(
316 (call, traced) => logResult(logInfo, traced, call),
317 (logInfo.opts & TraceOptions.BeforeCall) > 0
318 );
319}
320
321type LogInfo = {
322 opts: TraceOptions;

Callers 4

debugDecoratorFunction · 0.85
errorDecoratorFunction · 0.85
infoDecoratorFunction · 0.85
warnDecoratorFunction · 0.85

Calls 1

logResultFunction · 0.85

Tested by

no test coverage detected