Strs adds the field key with vals as a []string to the *Event context. This is the array version that accepts a slice of string values.
(key string, vals []string)
| 324 | // |
| 325 | // This is the array version that accepts a slice of string values. |
| 326 | func (e *Event) Strs(key string, vals []string) *Event { |
| 327 | if e == nil { |
| 328 | return e |
| 329 | } |
| 330 | e.buf = enc.AppendStrings(enc.AppendKey(e.buf, key), vals) |
| 331 | return e |
| 332 | } |
| 333 | |
| 334 | // StrsV adds the field key with vals as a []string to the *Event context. |
| 335 | // |