Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ ensureLogDir
Method
ensureLogDir
packages/node-runtime/src/ai/ai-logger.ts:64–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
}
63
64
private ensureLogDir(): void {
65
if
(!fs.existsSync(this.logDir)) {
66
fs.mkdirSync(this.logDir, { recursive: true })
67
}
68
}
69
70
private getLogFilePath(): string {
71
if
(this.logFile)
return
this.logFile
Callers
1
getLogFilePath
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected