| 18 | }; |
| 19 | |
| 20 | export interface TaskLogger { |
| 21 | debug(message: string, properties?: Record<string, unknown>): void; |
| 22 | log(message: string, properties?: Record<string, unknown>): void; |
| 23 | info(message: string, properties?: Record<string, unknown>): void; |
| 24 | warn(message: string, properties?: Record<string, unknown>): void; |
| 25 | error(message: string, properties?: Record<string, unknown>): void; |
| 26 | trace<T>(name: string, fn: (span: Span) => Promise<T>, options?: SpanOptions): Promise<T>; |
| 27 | } |
| 28 | |
| 29 | export class OtelTaskLogger implements TaskLogger { |
| 30 | private readonly _level: number; |
no outgoing calls
no test coverage detected
searching dependent graphs…