Documentation
¶
Index ¶
- func AnyValueToString(v slog.Value) string
- func AppendAttrsToGroup(groups []string, actualAttrs []slog.Attr, newAttrs ...slog.Attr) []slog.Attr
- func AttrToValue(attr slog.Attr) (string, any)
- func AttrsToString(attrs ...slog.Attr) map[string]string
- func AttrsToValue(attrs ...slog.Attr) map[string]any
- func FindAttrByGroupAndKey(attrs []slog.Attr, groups []string, key string) (slog.Attr, bool)
- func FindAttrByKey(attrs []slog.Attr, key string) (slog.Attr, bool)
- func FormatError(err error) map[string]any
- func FormatErrorKey(values map[string]any, errorKey string) map[string]any
- func FormatRequest(req *http.Request, ignoreHeaders bool) map[string]any
- func UniqAttrs(attrs []slog.Attr) []slog.Attr
- func ValueToString(v slog.Value) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyValueToString ¶
func AppendAttrsToGroup ¶
func FindAttrByGroupAndKey ¶
func FormatError ¶
func FormatRequest ¶ added in v0.5.0
func ValueToString ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.