Versions in this module Expand all Collapse all v0 v0.1.0 Aug 15, 2026 Changes in this version + type Client struct + func New(opts Options) *Client + func (c *Client) Close(ctx context.Context) error + func (c *Client) Debug(message string, meta Meta) + func (c *Client) Error(message string, meta Meta) + func (c *Client) Fatal(message string, meta Meta) + func (c *Client) Flush(ctx context.Context) error + func (c *Client) Info(message string, meta Meta) + func (c *Client) Log(level Level, message string, meta Meta, t time.Time) + func (c *Client) Trace(message string, meta Meta) + func (c *Client) Warn(message string, meta Meta) + type Handler struct + func NewHandler(c *Client, opts *HandlerOptions) *Handler + func (h *Handler) Enabled(_ context.Context, l 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 HandlerOptions struct + ForwardAll bool + Level slog.Leveler + type Level string + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelTrace + const LevelWarn + type Meta map[string]any + type Options struct + BatchSize int + FlushInterval time.Duration + HTTPClient *http.Client + Key string + MaxBufferedEntries int + RequestTimeout time.Duration + URL string + Warn func(msg string)