MCPcopy
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

initFunction · 0.45
constructorMethod · 0.45
toEnvOptsMethod · 0.45
msgMethod · 0.45
debugMethod · 0.45
infoMethod · 0.45
warnMethod · 0.45
errorMethod · 0.45
logErrMethod · 0.45
doneMethod · 0.45
signFunction · 0.45
initFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected