MCPcopy
hub / github.com/tuna/tunasync / WithGroup

Method WithGroup

internal/logger.go:188–192  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

186}
187
188func (h *lineHandler) WithGroup(name string) slog.Handler {
189 cloned := *h
190 cloned.groups = append(append([]string{}, h.groups...), name)
191 return &cloned
192}
193
194func appendAttrs(b *strings.Builder, groups []string, attrs []slog.Attr) {
195 for _, attr := range attrs {

Callers 1

Calls

no outgoing calls

Tested by 1