MCPcopy Create free account
hub / github.com/arctic-cli/interface / info

Function info

packages/arctic/src/util/log.ts:133–137  ·  view source on GitHub ↗
(message?: any, extra?: Record<string, any>)

Source from the content-addressed store, hash-verified

131 }
132 },
133 info(message?: any, extra?: Record<string, any>) {
134 if (shouldLog("INFO")) {
135 write("INFO " + build(message, extra))
136 }
137 },
138 error(message?: any, extra?: Record<string, any>) {
139 if (shouldLog("ERROR")) {
140 write("ERROR " + build(message, extra))

Callers 1

UsageCardFunction · 0.50

Calls 3

shouldLogFunction · 0.85
buildFunction · 0.85
writeFunction · 0.70

Tested by

no test coverage detected