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

Method appendKey

logger/formatter_json.go:134–140  ·  view source on GitHub ↗

appendKey appends an attribute key to the buffer.

(key string)

Source from the content-addressed store, hash-verified

132
133// appendKey appends an attribute key to the buffer.
134func (s *formatterJSON) appendKey(key string) {
135 s.buf.append(s.sep...)
136 s.sep = jsonAttributeSep
137
138 s.appendString(key)
139 s.buf.append(':')
140}
141
142// appendValue appends a value to the buffer, applying quoting rules as necessary.
143func (s *formatterJSON) appendValue(val slog.Value) {

Callers 3

formatMethod · 0.95
appendAttributeMethod · 0.95
openGroupMethod · 0.95

Calls 2

appendStringMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected