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

Method StandardWriter

pkg/csplugin/hclog_adapter.go:137–139  ·  view source on GitHub ↗
(opts *hclog.StandardLoggerOptions)

Source from the content-addressed store, hash-verified

135}
136
137func (HCLogAdapter) StandardWriter(opts *hclog.StandardLoggerOptions) io.Writer {
138 return os.Stderr
139}
140
141// level2logrus maps hclog levels to Logrus levels.
142func level2logrus(level hclog.Level) logrus.Level {

Callers 1

StandardLoggerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected