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

Function fakeSugarFields

benchmarks/zap_test.go:143–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141}
142
143func fakeSugarFields() []interface{} {
144 return []interface{}{
145 "int", _tenInts[0],
146 "ints", _tenInts,
147 "string", _tenStrings[0],
148 "strings", _tenStrings,
149 "time", _tenTimes[0],
150 "times", _tenTimes,
151 "user1", _oneUser,
152 "user2", _oneUser,
153 "users", _tenUsers,
154 "error", errExample,
155 }
156}
157
158func fakeFmtArgs() []interface{} {
159 // Need to keep this a function instead of a package-global var so that we

Callers 3

BenchmarkAddingFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected