Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uber-go/zap
/ newApexLog
Function
newApexLog
benchmarks/apex_test.go:37–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
func
newApexLog() *log.Logger {
38
return
&log.Logger{
39
Handler: json.New(io.Discard),
40
Level: log.DebugLevel,
41
}
42
}
43
44
func
fakeApexFields() log.Fields {
45
return
log.Fields{
Callers
3
BenchmarkWithoutFields
Function · 0.85
BenchmarkAccumulatedContext
Function · 0.85
BenchmarkAddingFields
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected