Documentation ¶
Index ¶
- type Handler
- func (m *Handler) Enabled(ctx context.Context, level slog.Level) bool
- func (m *Handler) GinMiddleware() gin.HandlerFunc
- func (m *Handler) Handle(ctx context.Context, record slog.Record) error
- func (m *Handler) Setup()
- func (m *Handler) WithAttrs(attrs []slog.Attr) slog.Handler
- func (m *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 {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) GinMiddleware ¶
func (m *Handler) GinMiddleware() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.