Versions in this module Expand all Collapse all v0 v0.0.1 Sep 20, 2023 Changes in this version + func New(logger *slog.Logger, opts ...ConfigOption) gin.HandlerFunc + type Config struct + type ConfigOption func(*Config) + func WithCustomFields(customFields CustomFields) ConfigOption + func WithCustomRecovery(customRecovery gin.RecoveryFunc) ConfigOption + func WithDefaultLevel(level slog.Level) ConfigOption + func WithoutDefaultFields() ConfigOption + func WithoutError() ConfigOption + func WithoutRequest() ConfigOption + func WithoutStack() ConfigOption + type CustomFields func(c *gin.Context) []slog.Attr