Type adds the field key with val's type using reflection.
(key string, val interface{})
| 443 | |
| 444 | // Type adds the field key with val's type using reflection. |
| 445 | func (c Context) Type(key string, val interface{}) Context { |
| 446 | c.l.context = enc.AppendType(enc.AppendKey(c.l.context, key), val) |
| 447 | return c |
| 448 | } |
| 449 | |
| 450 | // Any is a wrapper around Context.Interface. |
| 451 | func (c Context) Any(key string, i interface{}) Context { |
nothing calls this directly
no test coverage detected