Ints8 adds the field key with i as a []int8 to the *Event context.
(key string, i []int8)
| 561 | |
| 562 | // Ints8 adds the field key with i as a []int8 to the *Event context. |
| 563 | func (e *Event) Ints8(key string, i []int8) *Event { |
| 564 | if e == nil { |
| 565 | return e |
| 566 | } |
| 567 | e.buf = enc.AppendInts8(enc.AppendKey(e.buf, key), i) |
| 568 | return e |
| 569 | } |
| 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 { |