Strs constructs a field that carries a slice of string-like values.
(k K, v V)
| 42 | |
| 43 | // Strs constructs a field that carries a slice of string-like values. |
| 44 | func Strs[K ~string, V ~[]S, S ~string](k K, v V) zap.Field { |
| 45 | return zap.Array(string(k), stringArray[S](v)) |
| 46 | } |