Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
29
func
newLog15() log15.Logger {
30
logger := log15.New()
31
logger.SetHandler(log15.StreamHandler(io.Discard, log15.JsonFormat()))
32
return
logger
33
}
Callers
3
BenchmarkWithoutFields
Function · 0.85
BenchmarkAccumulatedContext
Function · 0.85
BenchmarkAddingFields
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected