Int32 adds the field key with i as a int32 to the *Event context.
(key string, i int32)
| 588 | |
| 589 | // Int32 adds the field key with i as a int32 to the *Event context. |
| 590 | func (e *Event) Int32(key string, i int32) *Event { |
| 591 | if e == nil { |
| 592 | return e |
| 593 | } |
| 594 | e.buf = enc.AppendInt32(enc.AppendKey(e.buf, key), i) |
| 595 | return e |
| 596 | } |
| 597 | |
| 598 | // Ints32 adds the field key with i as a []int32 to the *Event context. |
| 599 | func (e *Event) Ints32(key string, i []int32) *Event { |