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

Method Debug

pkg/csplugin/hclog_adapter.go:65–67  ·  view source on GitHub ↗
(msg string, args ...any)

Source from the content-addressed store, hash-verified

63}
64
65func (h HCLogAdapter) Debug(msg string, args ...any) {
66 h.log.WithFields(toLogrusFields(args)).Debug(msg)
67}
68
69func (h HCLogAdapter) Info(msg string, args ...any) {
70 h.log.WithFields(toLogrusFields(args)).Info(msg)

Callers 3

LogMethod · 0.95
NewAccessLoggerMethod · 0.45
loadCommonMethod · 0.45

Calls 1

toLogrusFieldsFunction · 0.85

Tested by

no test coverage detected