Stringers adds the field key with vals to the logger context where each individual val is added by calling val.String(). This is the array version that accepts a slice of fmt.Stringer values.
(key string, vals []fmt.Stringer)
| 144 | // |
| 145 | // This is the array version that accepts a slice of fmt.Stringer values. |
| 146 | func (c Context) Stringers(key string, vals []fmt.Stringer) Context { |
| 147 | c.l.context = enc.AppendStringers(enc.AppendKey(c.l.context, key), vals) |
| 148 | return c |
| 149 | } |
| 150 | |
| 151 | // StringersV adds the field key with vals to the logger context where each |
| 152 | // individual val is added by calling val.String(). |
no test coverage detected