Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
11
let
initialized = false
12
13
function
ensureInit(): void {
14
if
(initialized)
return
15
initialized = true
16
initAppLogger(getLogsDir())
17
}
18
19
export
const
logger = {
20
info: (message: string) => {
Callers
1
logger.ts
File · 0.70
Calls
2
initAppLogger
Function · 0.90
getLogsDir
Function · 0.90
Tested by
no test coverage detected