Versions in this module Expand all Collapse all v0 v0.1.0 Jul 26, 2026 Changes in this version + func GoogleChatText(e Event) ([]byte, error) + func NewHandler(inner slog.Handler, opts Options) slog.Handler + type Event struct + Attrs []slog.Attr + Level slog.Level + Message string + Service string + Time time.Time + type FormatFunc func(Event) ([]byte, error) + type Handler struct + func (h *Handler) Enabled(ctx context.Context, level slog.Level) bool + func (h *Handler) Handle(ctx context.Context, r slog.Record) error + func (h *Handler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + type Options struct + Client *http.Client + Debounce time.Duration + Format FormatFunc + MinLevel slog.Leveler + ServiceName string + WebhookURL string