Bools adds the field key with val as a []bool to the *Event context.
(key string, b []bool)
| 525 | |
| 526 | // Bools adds the field key with val as a []bool to the *Event context. |
| 527 | func (e *Event) Bools(key string, b []bool) *Event { |
| 528 | if e == nil { |
| 529 | return e |
| 530 | } |
| 531 | e.buf = enc.AppendBools(enc.AppendKey(e.buf, key), b) |
| 532 | return e |
| 533 | } |
| 534 | |
| 535 | // Int adds the field key with i as a int to the *Event context. |
| 536 | func (e *Event) Int(key string, i int) *Event { |