MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / ensureInit

Function ensureInit

apps/desktop/main/logger.ts:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11let initialized = false
12
13function ensureInit(): void {
14 if (initialized) return
15 initialized = true
16 initAppLogger(getLogsDir())
17}
18
19export const logger = {
20 info: (message: string) => {

Callers 1

logger.tsFile · 0.70

Calls 2

initAppLoggerFunction · 0.90
getLogsDirFunction · 0.90

Tested by

no test coverage detected