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

Method getExistingLogPath

packages/node-runtime/src/ai/ai-logger.ts:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 getExistingLogPath(): string | null {
58 if (this.logFile && fs.existsSync(this.logFile)) {
59 return this.logFile
60 }
61 return null
62 }
63
64 private ensureLogDir(): void {
65 if (!fs.existsSync(this.logDir)) {

Callers 2

logger.tsFile · 0.80
registerAIHandlersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected