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

Method IsError

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

Source from the content-addressed store, hash-verified

95}
96
97func (h HCLogAdapter) IsError() bool {
98 return h.log.Logger.GetLevel() >= logrus.ErrorLevel
99}
100
101func (HCLogAdapter) ImpliedArgs() []any {
102 // Not supported.

Callers

nothing calls this directly

Calls 1

GetLevelMethod · 0.80

Tested by

no test coverage detected