MCPcopy
hub / github.com/uber-go/zap / newLog15

Function newLog15

benchmarks/log15_test.go:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27)
28
29func newLog15() log15.Logger {
30 logger := log15.New()
31 logger.SetHandler(log15.StreamHandler(io.Discard, log15.JsonFormat()))
32 return logger
33}

Callers 3

BenchmarkWithoutFieldsFunction · 0.85
BenchmarkAddingFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected