MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / getLogger

Function getLogger

packages/baseai/src/utils/logger-utils.ts:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13};
14
15const getLogger = (): Logger => {
16 if (!loggerInstance) {
17 p.cancel('Logger has not been initialized. Call initLogger() first.');
18 process.exit(1);
19 }
20 return loggerInstance;
21};
22
23export const logger = (
24 category: LogCategories,

Callers 1

loggerFunction · 0.85

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected