package sloghandler
import "k8s.io/klog/v2/internal/sloghandler"
Index ¶
- func Attrs2KVList(groups string, attrs []slog.Attr) []interface{}
- 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{})) error
Functions ¶
func Attrs2KVList ¶
func Handle ¶
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{})) error
Source Files ¶
sloghandler_slog.go
- Version
- v2.120.0
- Published
- Jan 10, 2024
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 19 hours ago –
Tools for package owners.