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

Function debugDecorator

src/platform/logging/index.ts:244–246  ·  view source on GitHub ↗
(message: string, opts: TraceOptions = DEFAULT_OPTS)

Source from the content-addressed store, hash-verified

242/** Logging Decorators go here */
243
244export function debugDecorator(message: string, opts: TraceOptions = DEFAULT_OPTS): TraceDecoratorType {
245 return createTracingDecorator({ message, opts, level: LogLevel.Debug });
246}
247export function errorDecorator(message: string): TraceDecoratorType {
248 return createTracingDecorator({ message, opts: DEFAULT_OPTS, level: LogLevel.Error });
249}

Calls 1

createTracingDecoratorFunction · 0.85

Tested by

no test coverage detected