MCPcopy
hub / github.com/grafana/dskit / newFakeLogger

Function newFakeLogger

server/server_test.go:762–769  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

760}
761
762func newFakeLogger() *FakeLogger {
763 buf := bytes.NewBuffer(nil)
764 log := log.NewGoKitWithWriter(log.LogfmtFormat, buf)
765 return &FakeLogger{
766 logger: log,
767 buf: buf,
768 }
769}
770
771func (f *FakeLogger) Log(keyvals ...interface{}) error {
772 return f.logger.Log(keyvals...)

Callers 1

TestLogSourceIPsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected