appendAttributes appends a list of attributes to the buffer.
(attrs []slog.Attr)
| 75 | |
| 76 | // appendAttributes appends a list of attributes to the buffer. |
| 77 | func (s *formatterStructured) appendAttributes(attrs []slog.Attr) { |
| 78 | for _, attr := range attrs { |
| 79 | s.appendAttribute(attr) |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | // appendAttribute appends a single attribute to the buffer. |
| 84 | func (s *formatterStructured) appendAttribute(attr slog.Attr) { |
no test coverage detected