MCPcopy
hub / github.com/crowdsecurity/crowdsec / GetLevel

Method GetLevel

pkg/csplugin/hclog_adapter.go:126–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func (h HCLogAdapter) GetLevel() hclog.Level {
127 return level2hclog(h.log.Logger.GetLevel())
128}
129
130func (h HCLogAdapter) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger {
131 if opts == nil {

Callers 10

SubLoggerFunction · 0.80
CompileMethod · 0.80
IsTraceMethod · 0.80
IsDebugMethod · 0.80
IsInfoMethod · 0.80
IsWarnMethod · 0.80
IsErrorMethod · 0.80
SetUpLoggerMethod · 0.80
MsgMethod · 0.80
NewCrzLoggerFunction · 0.80

Calls 1

level2hclogFunction · 0.85

Tested by

no test coverage detected