Documentation ¶ Index ¶ type Handler func Wrap(l *tlog.Logger) *Handler func (l *Handler) Enabled(ctx context.Context, lvl slog.Level) bool func (l *Handler) Handle(ctx context.Context, r slog.Record) error func (l *Handler) WithAttrs(attrs []slog.Attr) slog.Handler func (l *Handler) WithGroup(name string) slog.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { *tlog.Logger Level slog.Level // contains filtered or unexported fields } func Wrap ¶ func Wrap(l *tlog.Logger) *Handler func (*Handler) Enabled ¶ func (l *Handler) Enabled(ctx context.Context, lvl slog.Level) bool func (*Handler) Handle ¶ func (l *Handler) Handle(ctx context.Context, r slog.Record) error func (*Handler) WithAttrs ¶ func (l *Handler) WithAttrs(attrs []slog.Attr) slog.Handler func (*Handler) WithGroup ¶ func (l *Handler) WithGroup(name string) slog.Handler Source Files ¶ View all Source files slog.go Click to show internal directories. Click to hide internal directories.