AppendKey adds a key (string) to the binary encoded log message
(dst []byte, key string)
| 12 | |
| 13 | // AppendKey adds a key (string) to the binary encoded log message |
| 14 | func (e Encoder) AppendKey(dst []byte, key string) []byte { |
| 15 | if len(dst) < 1 { |
| 16 | dst = e.AppendBeginMarker(dst) |
| 17 | } |
| 18 | return e.AppendString(dst, key) |
| 19 | } |
nothing calls this directly
no test coverage detected