Bool adds the field key with val as a bool to the logger context.
(key string, b bool)
| 236 | |
| 237 | // Bool adds the field key with val as a bool to the logger context. |
| 238 | func (c Context) Bool(key string, b bool) Context { |
| 239 | c.l.context = enc.AppendBool(enc.AppendKey(c.l.context, key), b) |
| 240 | return c |
| 241 | } |
| 242 | |
| 243 | // Bools adds the field key with val as a []bool to the logger context. |
| 244 | func (c Context) Bools(key string, b []bool) Context { |
nothing calls this directly
no test coverage detected