Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
29
func
newKitLog(fields ...
interface
{}) log.Logger {
30
return
log.With(log.NewJSONLogger(io.Discard), fields...)
31
}
Callers
3
BenchmarkWithoutFields
Function · 0.85
BenchmarkAccumulatedContext
Function · 0.85
BenchmarkAddingFields
Function · 0.85
Calls
1
With
Method · 0.65
Tested by
no test coverage detected