Versions in this module Expand all Collapse all v0 v0.1.0 Nov 13, 2023 Changes in this version + func NewLogger(w SyslogLogger, writeJson bool, opts *slog.HandlerOptions) *slog.Logger + type SyslogHandler struct + func NewSyslogHandler(w SyslogLogger, writeJson bool, opts *slog.HandlerOptions) *SyslogHandler + func (h *SyslogHandler) Enabled(_ context.Context, l slog.Level) bool + func (h *SyslogHandler) Handle(ctx context.Context, record slog.Record) error + func (h *SyslogHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *SyslogHandler) WithGroup(name string) slog.Handler + type SyslogLogger interface + Crit func(string) error + Debug func(string) error + Err func(string) error + Info func(string) error + Notice func(string) error + Warning func(string) error