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

Function error

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

Source from the content-addressed store, hash-verified

136 }
137 },
138 error(message?: any, extra?: Record<string, any>) {
139 if (shouldLog("ERROR")) {
140 write("ERROR " + build(message, extra))
141 }
142 },
143 warn(message?: any, extra?: Record<string, any>) {
144 if (shouldLog("WARN")) {
145 write("WARN " + build(message, extra))

Callers

nothing calls this directly

Calls 3

shouldLogFunction · 0.85
buildFunction · 0.85
writeFunction · 0.70

Tested by

no test coverage detected