Strs adds the field key with val as a string to the logger context. This is the array version that accepts a slice of string values.
(key string, vals []string)
| 117 | // |
| 118 | // This is the array version that accepts a slice of string values. |
| 119 | func (c Context) Strs(key string, vals []string) Context { |
| 120 | c.l.context = enc.AppendStrings(enc.AppendKey(c.l.context, key), vals) |
| 121 | return c |
| 122 | } |
| 123 | |
| 124 | // StrsV adds the field key with vals as a []string to the logger context. |
| 125 | // |
no test coverage detected