Durations constructs a field that carries a slice of time.Durations.
(key string, ds []time.Duration)
| 57 | |
| 58 | // Durations constructs a field that carries a slice of time.Durations. |
| 59 | func Durations(key string, ds []time.Duration) Field { |
| 60 | return Array(key, durations(ds)) |
| 61 | } |
| 62 | |
| 63 | // Float64s constructs a field that carries a slice of floats. |
| 64 | func Float64s(key string, nums []float64) Field { |