(message: string, args?: any | undefined)
| 4 | export function createConsoleLogger(logLevel: LogLevelType): Logger { |
| 5 | return { |
| 6 | debug(message: string, args?: any | undefined): Readonly<Promise<void>> { |
| 7 | if (LogLevelEnum.Debug >= logLevel) { |
| 8 | console.debug(message, args); |
| 9 | } |
| 10 | |
| 11 | return Promise.resolve(); |
| 12 | }, |
| 13 | |
| 14 | info(message: string, args?: any | undefined): Readonly<Promise<void>> { |
| 15 | if (LogLevelEnum.Info >= logLevel) { |
nothing calls this directly
no outgoing calls
no test coverage detected