Floats32 adds the field key with f as a []float32 to the *Event context.
(key string, f []float32)
| 723 | |
| 724 | // Floats32 adds the field key with f as a []float32 to the *Event context. |
| 725 | func (e *Event) Floats32(key string, f []float32) *Event { |
| 726 | if e == nil { |
| 727 | return e |
| 728 | } |
| 729 | e.buf = enc.AppendFloats32(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) |
| 730 | return e |
| 731 | } |
| 732 | |
| 733 | // Float64 adds the field key with f as a float64 to the *Event context. |
| 734 | func (e *Event) Float64(key string, f float64) *Event { |