()
| 27 | } |
| 28 | |
| 29 | public static async initialize(): Promise<Logger> { |
| 30 | if (!Logger.instance) { |
| 31 | const baseAIConfig = await loadConfig(); |
| 32 | Logger.instance = new Logger(baseAIConfig.log); |
| 33 | } |
| 34 | return Logger.instance; |
| 35 | } |
| 36 | |
| 37 | private formatValue(value: unknown): string { |
| 38 | if (typeof value === 'object' && value !== null) { |
no test coverage detected