Bytes adds the field key with val as a []byte to the logger context.
(key string, val []byte)
| 159 | |
| 160 | // Bytes adds the field key with val as a []byte to the logger context. |
| 161 | func (c Context) Bytes(key string, val []byte) Context { |
| 162 | c.l.context = enc.AppendBytes(enc.AppendKey(c.l.context, key), val) |
| 163 | return c |
| 164 | } |
| 165 | |
| 166 | // Hex adds the field key with val as a hex string to the logger context. |
| 167 | func (c Context) Hex(key string, val []byte) Context { |
nothing calls this directly
no test coverage detected