Float64 adds the field key with f as a float64 to the *Event context.
(key string, f float64)
| 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 { |
| 735 | if e == nil { |
| 736 | return e |
| 737 | } |
| 738 | e.buf = enc.AppendFloat64(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) |
| 739 | return e |
| 740 | } |
| 741 | |
| 742 | // Floats64 adds the field key with f as a []float64 to the *Event context. |
| 743 | func (e *Event) Floats64(key string, f []float64) *Event { |