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

Method AddBool

zapcore/json_encoder.go:119–122  ·  view source on GitHub ↗
(key string, val bool)

Source from the content-addressed store, hash-verified

117}
118
119func (enc *jsonEncoder) AddBool(key string, val bool) {
120 enc.addKey(key)
121 enc.AppendBool(val)
122}
123
124func (enc *jsonEncoder) AddComplex128(key string, val complex128) {
125 enc.addKey(key)

Callers

nothing calls this directly

Calls 2

addKeyMethod · 0.95
AppendBoolMethod · 0.95

Tested by

no test coverage detected