(message: string, args?: any | undefined)
| 20 | }, |
| 21 | |
| 22 | warn(message: string, args?: any | undefined): Readonly<Promise<void>> { |
| 23 | if (LogLevelEnum.Info >= logLevel) { |
| 24 | // single-arg calls (e.g. via `logWarning`) must not print a trailing `undefined` |
| 25 | if (args === undefined) { |
| 26 | console.warn(message); |
| 27 | } else { |
| 28 | console.warn(message, args); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | return Promise.resolve(); |
| 33 | }, |
| 34 | |
| 35 | error(message: string, args?: any | undefined): Readonly<Promise<void>> { |
| 36 | console.error(message, args); |
nothing calls this directly
no outgoing calls
no test coverage detected