Versions in this module Expand all Collapse all v0 v0.11.0 Mar 24, 2026 Changes in this version + const NamespaceKey + func DefaultHandler(params Parameters) slog.Handler + func Error(err error) slog.Attr + func LoggerTypeStrings() []string + func NewHandler(loggerType LoggerType, level slog.Level) slog.Handler + func TxID(t txIDGetter, scheme scheme) slog.Attr + func Type(value any) slog.Attr + type LoggerType int + const LoggerJSON + const LoggerJSONDev + const LoggerPretty + const LoggerPrettyDev + const LoggerPrettyNoColor + const LoggerPrettyNoColorDev + const LoggerText + const LoggerTextDev + func LoggerTypeString(s string) (LoggerType, error) + func LoggerTypeValues() []LoggerType + func (i *LoggerType) UnmarshalText(text []byte) error + func (i LoggerType) IsALoggerType() bool + func (i LoggerType) MarshalText() ([]byte, error) + func (i LoggerType) String() string + type Parameters struct + Level slog.Level + Type LoggerType + func (p *Parameters) Initialize() + func (p *Parameters) Parse() error + func (p *Parameters) String() string