Int16 adds the field key with i as a int16 to the *Event context.
(key string, i int16)
| 570 | |
| 571 | // Int16 adds the field key with i as a int16 to the *Event context. |
| 572 | func (e *Event) Int16(key string, i int16) *Event { |
| 573 | if e == nil { |
| 574 | return e |
| 575 | } |
| 576 | e.buf = enc.AppendInt16(enc.AppendKey(e.buf, key), i) |
| 577 | return e |
| 578 | } |
| 579 | |
| 580 | // Ints16 adds the field key with i as a []int16 to the *Event context. |
| 581 | func (e *Event) Ints16(key string, i []int16) *Event { |