(b *bytes.Buffer, key string, value interface{})
| 318 | } |
| 319 | |
| 320 | func (f *TextFormatter) appendKeyValue(b *bytes.Buffer, key string, value interface{}) { |
| 321 | if b.Len() > 0 { |
| 322 | b.WriteByte(' ') |
| 323 | } |
| 324 | b.WriteString(key) |
| 325 | b.WriteByte('=') |
| 326 | f.appendValue(b, value) |
| 327 | } |
| 328 | |
| 329 | func (f *TextFormatter) appendValue(b *bytes.Buffer, value interface{}) { |
| 330 | stringVal, ok := value.(string) |