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

Function shouldLog

packages/arctic/src/util/log.ts:19–21  ·  view source on GitHub ↗
(input: Level)

Source from the content-addressed store, hash-verified

17 let level: Level = "INFO"
18
19 function shouldLog(input: Level): boolean {
20 return levelPriority[input] >= levelPriority[level]
21 }
22
23 export type Logger = {
24 debug(message?: any, extra?: Record<string, any>): void

Callers 4

debugFunction · 0.85
infoFunction · 0.85
errorFunction · 0.85
warnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected