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

Method appendAttributes

logger/formatter_json.go:107–111  ·  view source on GitHub ↗

appendAttributes appends a list of attributes to the buffer.

(attrs []slog.Attr)

Source from the content-addressed store, hash-verified

105
106// appendAttributes appends a list of attributes to the buffer.
107func (s *formatterJSON) appendAttributes(attrs []slog.Attr) {
108 for _, attr := range attrs {
109 s.appendAttribute(attr)
110 }
111}
112
113// appendAttribute appends a single attribute to the buffer.
114func (s *formatterJSON) appendAttribute(attr slog.Attr) {

Callers 2

formatMethod · 0.95
appendGroupMethod · 0.95

Calls 1

appendAttributeMethod · 0.95

Tested by

no test coverage detected