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

Interface ExtLogger

pkg/logging/types.go:16–21  ·  view source on GitHub ↗

ExtLogger is a common interface for logrus.Logger and logrus.Entry. Much like Ext1FieldLogger from logrus.go, it says not to use it, yet it's currently the best option.

Source from the content-addressed store, hash-verified

14// ExtLogger is a common interface for logrus.Logger and logrus.Entry.
15// Much like Ext1FieldLogger from logrus.go, it says not to use it, yet it's currently the best option.
16type ExtLogger interface {
17 logrus.FieldLogger
18 Tracef(format string, args ...any)
19 Trace(args ...any)
20 Traceln(args ...any)
21}

Callers 15

addContextFromItemFunction · 0.80
addContextFromFileFunction · 0.80
CrowdsecCTIFunction · 0.80
pollMethod · 0.80
PullOnceMethod · 0.80
AddToAllowlistMethod · 0.80
RemoveFromAllowlistMethod · 0.80
ReplaceAllowlistMethod · 0.80
sqsPollMethod · 0.65
processFilterMethod · 0.65
processMethod · 0.65
SetTargetByNameFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…