Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ SetLevel
Method
SetLevel
pkg/csplugin/hclog_adapter.go:122–124 ·
view source on GitHub ↗
(level hclog.Level)
Source
from the content-addressed store, hash-verified
120
}
121
122
func
(h *HCLogAdapter) SetLevel(level hclog.Level) {
123
h.log.Logger.SetLevel(level2logrus(level))
124
}
125
126
func
(h HCLogAdapter) GetLevel() hclog.Level {
127
return
level2hclog(h.log.Logger.GetLevel())
Callers
15
ConfigureByDSN
Method · 0.80
setLogger
Method · 0.80
TestListPolling
Function · 0.80
ConfigureByDSN
Method · 0.80
ConfigureByDSN
Method · 0.80
TestOneShotAcquisition
Function · 0.80
TestStreamingAcquisition
Function · 0.80
ConfigureByDSN
Method · 0.80
TestWatchLogGroupForStreams
Method · 0.80
TestConfiguration
Method · 0.80
TestConfigureByDSN
Method · 0.80
TestOneShotAcquisition
Method · 0.80
Calls
1
level2logrus
Function · 0.85
Tested by
15
TestListPolling
Function · 0.64
TestOneShotAcquisition
Function · 0.64
TestStreamingAcquisition
Function · 0.64
TestWatchLogGroupForStreams
Method · 0.64
TestConfiguration
Method · 0.64
TestConfigureByDSN
Method · 0.64
TestOneShotAcquisition
Method · 0.64
TestOneShot
Function · 0.64
TestLiveAcquisition
Function · 0.64
TestOneShotAcquisition
Function · 0.64
TestStreamingAcquisition
Function · 0.64
TestStreamingAcquisition
Function · 0.64