Int8 adds the field key with i as a int8 to the *Event context.
(key string, i int8)
| 552 | |
| 553 | // Int8 adds the field key with i as a int8 to the *Event context. |
| 554 | func (e *Event) Int8(key string, i int8) *Event { |
| 555 | if e == nil { |
| 556 | return e |
| 557 | } |
| 558 | e.buf = enc.AppendInt8(enc.AppendKey(e.buf, key), i) |
| 559 | return e |
| 560 | } |
| 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 { |