| 6 | * (per task) to route node-cron logs through your application's logger. |
| 7 | */ |
| 8 | export interface Logger { |
| 9 | info(message: string): void; |
| 10 | warn(message: string): void; |
| 11 | error(message: string | Error, err?: Error): void; |
| 12 | debug(message: string | Error, err?: Error): void; |
| 13 | } |
| 14 | |
| 15 | const levelColors: Record<LogLevel, string> = { |
| 16 | INFO: '\x1b[36m', // Cyan |
no outgoing calls
no test coverage detected