Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
debug
Function · 0.85
info
Function · 0.85
error
Function · 0.85
warn
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected