Versions in this module Expand all Collapse all v0 v0.0.1 Mar 27, 2024 Changes in this version + const AnsiBackgroundBlack + const AnsiBackgroundBlue + const AnsiBackgroundBrightBlack + const AnsiBackgroundBrightGreen + const AnsiBackgroundBrightRed + const AnsiBackgroundBrightYellow + const AnsiBackgroundCyan + const AnsiBackgroundGreen + const AnsiBackgroundMagenta + const AnsiBackgroundRed + const AnsiBackgroundReset + const AnsiBackgroundWhite + const AnsiBackgroundYellow + const AnsiBlack + const AnsiBlink + const AnsiBlue + const AnsiBold + const AnsiBrightGreen + const AnsiBrightRed + const AnsiBrightRedFaint + const AnsiBrightWhite + const AnsiBrightYellow + const AnsiColorReset + const AnsiConceal + const AnsiCrossed + const AnsiCyan + const AnsiFaint + const AnsiGreen + const AnsiItalic + const AnsiMagenta + const AnsiRapidBlink + const AnsiRed + const AnsiReset + const AnsiResetFaint + const AnsiReverse + const AnsiUnderline + const AnsiWhite + const AnsiYellow + func Err(err error) slog.Attr + func NewHandler(w io.Writer, opts *Options) slog.Handler + type CustomStyles struct + Level *LevelCustomStyles + Message *MessageCustomStyles + Source []string + Time []string + type LevelCustomStyles struct + Debug []string + Error []string + Info []string + Warning []string + type MessageCustomStyles struct + Key []string + Main []string + Value []string + type Options struct + AddSource bool + CustomStyles *CustomStyles + Level slog.Leveler + NoColor bool + ReplaceAttr func(groups []string, attr slog.Attr) slog.Attr + TimeFormat string