Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ IsDebug
Method
IsDebug
pkg/csplugin/hclog_adapter.go:85–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
83
}
84
85
func
(h HCLogAdapter) IsDebug() bool {
86
return
h.log.Logger.GetLevel() >= logrus.DebugLevel
87
}
88
89
func
(h HCLogAdapter) IsInfo() bool {
90
return
h.log.Logger.GetLevel() >= logrus.InfoLevel
Callers
nothing calls this directly
Calls
1
GetLevel
Method · 0.80
Tested by
no test coverage detected