Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelNames = map[string]slog.Level{ "debug": slog.LevelDebug, "info": slog.LevelInfo, "warn": slog.LevelWarn, "error": slog.LevelError, }
Functions ¶
func CompactAny ¶
func CompactAny(val interface{}) *compactAny
CompactAny wraps any value to show it in log truncated
func CompactValue ¶
CompactValue wraps any scalar value to show it in log truncated
func CompactValues ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.