go/src/log/slog/example_logvaluer_group_test.go

type Name

// LogValue implements slog.LogValuer.
// It returns a group containing the fields of
// the Name, so that they appear together in the log output.
func (n Name) LogValue() slog.Value {}

func ExampleLogValuer_group() {}