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

Function warn

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

Source from the content-addressed store, hash-verified

141 }
142 },
143 warn(message?: any, extra?: Record<string, any>) {
144 if (shouldLog("WARN")) {
145 write("WARN " + build(message, extra))
146 }
147 },
148 tag(key: string, value: string) {
149 if (tags) tags[key] = value
150 return result

Callers

nothing calls this directly

Calls 3

shouldLogFunction · 0.85
buildFunction · 0.85
writeFunction · 0.70

Tested by

no test coverage detected