Versions in this module Expand all Collapse all v1 v1.2.0 Apr 18, 2024 Changes in this version + var CompactLevelNames = map[slog.Level]string + var DefaultLevelNames = map[slog.Level]string type Options + LevelNames map[slog.Level]string v1.1.0 Apr 5, 2024 Changes in this version + const PromptKey type Options + Prompt string v1.0.7 Apr 5, 2024 Changes in this version + func Err(err error) slog.Attr + func NewHandler(w io.Writer, opts *Options) slog.Handler + type Options struct + AddSource bool + Level slog.Leveler + NoColor bool + ReplaceAttr func(groups []string, attr slog.Attr) slog.Attr + TimeFormat string