Int64 adds the field key with i as a int64 to the *Event context.
(key string, i int64)
| 606 | |
| 607 | // Int64 adds the field key with i as a int64 to the *Event context. |
| 608 | func (e *Event) Int64(key string, i int64) *Event { |
| 609 | if e == nil { |
| 610 | return e |
| 611 | } |
| 612 | e.buf = enc.AppendInt64(enc.AppendKey(e.buf, key), i) |
| 613 | return e |
| 614 | } |
| 615 | |
| 616 | // Ints64 adds the field key with i as a []int64 to the *Event context. |
| 617 | func (e *Event) Ints64(key string, i []int64) *Event { |