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