Versions in this module Expand all Collapse all v0 v0.1.0 Aug 13, 2026 Changes in this version + const EnvSensitiveDisable + const EnvSilent + const EnvVerbosity + const FlagSilent + const LevelDebug + const LevelEmergency + const LevelError + const LevelInfo + const LevelNotice + const LevelTrace + const LevelWarning + var DefaultHandlerOptions = &slog.HandlerOptions + func Debug(msg string, args ...any) + func DefaultReplaceAttr(groups []string, a slog.Attr) slog.Attr + func Emergency(msg string, args ...any) + func Env(envPrefixes ...string) func(string) string + func Error(msg string, args ...any) + func Info(msg string, args ...any) + func Log(ctx context.Context, level slog.Level, msg string, args ...any) + func LogLevelString(level slog.Level) string + func NewContext(ctx context.Context, logger *Logger) context.Context + func NewContextWithCancel(ctx context.Context, logger *Logger) (context.Context, context.CancelFunc) + func Notice(msg string, args ...any) + func ParseSilent() bool + func ParseVerbosity() (level slog.Level) + func ParseVerbosityInt() (verbosity int) + func RemoveTime(groups []string, a slog.Attr) slog.Attr + func ReplaceDefault(logger *Logger) + func SetDefault(logger *Logger) + func SetEnv(envPrefixes ...string) + func Trace(msg string, args ...any) + func Warning(msg string, args ...any) + type Logger struct + func Default() *Logger + func FromContext(ctx context.Context) *Logger + func New(handler slog.Handler) *Logger + func (l *Logger) Notice(msg string, args ...any) + func (l *Logger) Trace(msg string, args ...any) + func (l *Logger) With(attrs ...any) *Logger + func (l *Logger) WithGroup(name string) *Logger + type Sensitive string + func (v Sensitive) LogValue() slog.Value