Versions in this module Expand all Collapse all v0 v0.2.0 Apr 18, 2026 Changes in this version + func NewRawHandler(w io.Writer, level slog.Leveler) slog.Handler + func NewRawHandlerWithOption(opt RawOption) slog.Handler + func RegisterCodec(codec Codec) error + type Codec interface + Encode func(record *slog.Record, attrs []slog.Attr, groups []string) ([]byte, error) + Name func() string + func GetCodec(name string) (Codec, bool) + type DialFunc func(network, addr string, timeout time.Duration) (stdnet.Conn, error) + type NetAdapter struct + func NewNetAdapter() *NetAdapter + func (a *NetAdapter) Configure(config modules.Config) error + type RawHandler struct + func (h *RawHandler) Enabled(_ context.Context, level slog.Level) bool + func (h *RawHandler) Handle(_ context.Context, record slog.Record) error + func (h *RawHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *RawHandler) WithGroup(name string) slog.Handler + type RawOption struct + Codec Codec + Level slog.Leveler + Writer io.Writer + type Sender struct + func NewSender(opt SenderOption) *Sender + func (s *Sender) Close() error + func (s *Sender) Write(p []byte) (int, error) + type SenderOption struct + Addr string + Delimiter []byte + Dial DialFunc + DialTimeout time.Duration + DisableReconnect bool + Network string + RetryBackoff time.Duration + WriteTimeout time.Duration