MCPcopy
hub / github.com/uber-go/zap / appendGroups

Method appendGroups

exp/zapslog/handler.go:190–195  ·  view source on GitHub ↗
(fields []zapcore.Field)

Source from the content-addressed store, hash-verified

188}
189
190func (h *Handler) appendGroups(fields []zapcore.Field) []zapcore.Field {
191 for _, g := range h.groups {
192 fields = append(fields, zap.Namespace(g))
193 }
194 return fields
195}
196
197// WithAttrs returns a new Handler whose attributes consist of
198// both the receiver's attributes and the arguments.

Callers 2

HandleMethod · 0.95
WithAttrsMethod · 0.95

Calls 1

NamespaceFunction · 0.92

Tested by

no test coverage detected