Str adds the field key with val as a string to the logger context.
(key, val string)
| 109 | |
| 110 | // Str adds the field key with val as a string to the logger context. |
| 111 | func (c Context) Str(key, val string) Context { |
| 112 | c.l.context = enc.AppendString(enc.AppendKey(c.l.context, key), val) |
| 113 | return c |
| 114 | } |
| 115 | |
| 116 | // Strs adds the field key with val as a string to the logger context. |
| 117 | // |
no test coverage detected