MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / initialize

Method initialize

packages/baseai/src/utils/logger.ts:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers 1

initLoggerFunction · 0.80

Calls 1

loadConfigFunction · 0.90

Tested by

no test coverage detected