MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / appendAttributes

Method appendAttributes

logger/formatter_structured.go:77–81  ·  view source on GitHub ↗

appendAttributes appends a list of attributes to the buffer.

(attrs []slog.Attr)

Source from the content-addressed store, hash-verified

75
76// appendAttributes appends a list of attributes to the buffer.
77func (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.
84func (s *formatterStructured) appendAttribute(attr slog.Attr) {

Callers 2

formatMethod · 0.95
appendGroupMethod · 0.95

Calls 1

appendAttributeMethod · 0.95

Tested by

no test coverage detected