(b *bytes.Buffer, key string, value any)
| 166 | } |
| 167 | |
| 168 | func (f *TextFormatter) appendKeyValue(b *bytes.Buffer, key string, value any) { |
| 169 | if b.Len() > 0 { |
| 170 | b.WriteByte(' ') |
| 171 | } |
| 172 | b.WriteString(key) |
| 173 | b.WriteByte('=') |
| 174 | f.appendValue(b, value) |
| 175 | } |
| 176 | |
| 177 | func (f *TextFormatter) appendValue(b *bytes.Buffer, value any) { |
| 178 | stringVal, ok := value.(string) |