Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chavyleung/scripts
/ log
Method
log
Env.js:856–861 ·
view source on GitHub ↗
(...logs)
Source
from the content-addressed store, hash-verified
854
}
855
856
log(...logs) {
857
if
(logs.length > 0) {
858
this.logs = [...this.logs, ...logs]
859
}
860
console.log(logs.map((l) => l ?? String(l)).join(this.logSeparator))
861
}
862
863
logErr(err, msg) {
864
switch (this.getEnv()) {
Callers
15
init
Function · 0.45
constructor
Method · 0.45
toEnvOpts
Method · 0.45
msg
Method · 0.45
debug
Method · 0.45
info
Method · 0.45
warn
Method · 0.45
error
Method · 0.45
logErr
Method · 0.45
done
Method · 0.45
sign
Function · 0.45
init
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected