Int16 adds the field key with i as a int16 to the logger context.
(key string, i int16)
| 272 | |
| 273 | // Int16 adds the field key with i as a int16 to the logger context. |
| 274 | func (c Context) Int16(key string, i int16) Context { |
| 275 | c.l.context = enc.AppendInt16(enc.AppendKey(c.l.context, key), i) |
| 276 | return c |
| 277 | } |
| 278 | |
| 279 | // Ints16 adds the field key with i as a []int16 to the logger context. |
| 280 | func (c Context) Ints16(key string, i []int16) Context { |
nothing calls this directly
no test coverage detected