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

Function debug

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

Source from the content-addressed store, hash-verified

126 }
127 const result: Logger = {
128 debug(message?: any, extra?: Record<string, any>) {
129 if (shouldLog("DEBUG")) {
130 write("DEBUG " + build(message, extra))
131 }
132 },
133 info(message?: any, extra?: Record<string, any>) {
134 if (shouldLog("INFO")) {
135 write("INFO " + 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