func Handle(_ context.Context, record slog.Record, groups string, printWithInfos func(file string, line int, now time.Time, err error, s severity.Severity, msg string, kvList []interface{ … } func Attrs2KVList(groups string, attrs []slog.Attr) []interface{ … } func appendAttr(groups string, kvList []interface{ … }