Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RioArisk/claudecode_api_RemoteControl
/ ensureLoggerReady
Function
ensureLoggerReady
lib/logger.js:33–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
function
ensureLoggerReady() {
34
if
(loggerInitialized)
return
loggerEnabled;
35
return
initLogger({ filePath: loggerFilePath, reset: false });
36
}
37
38
function
log(msg) {
39
if
(!ensureLoggerReady())
return
false;
Callers
1
log
Function · 0.85
Calls
1
initLogger
Function · 0.85
Tested by
no test coverage detected