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

Function newKitLog

benchmarks/kit_test.go:29–31  ·  view source on GitHub ↗
(fields ...interface{})

Source from the content-addressed store, hash-verified

27)
28
29func newKitLog(fields ...interface{}) log.Logger {
30 return log.With(log.NewJSONLogger(io.Discard), fields...)
31}

Callers 3

BenchmarkWithoutFieldsFunction · 0.85
BenchmarkAddingFieldsFunction · 0.85

Calls 1

WithMethod · 0.65

Tested by

no test coverage detected