Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructuredLoggingConfig ¶
type StructuredLoggingConfig struct {
// contains filtered or unexported fields
}
func NewStructuredLogging ¶
func NewStructuredLogging() *StructuredLoggingConfig
NewStructuredLogging configures slog to use structured logging as default.
func (*StructuredLoggingConfig) Apply ¶
func (config *StructuredLoggingConfig) Apply(_ *govalin.App)
func (*StructuredLoggingConfig) LogLevel ¶
func (config *StructuredLoggingConfig) LogLevel(logLevel slog.Level) *StructuredLoggingConfig
func (*StructuredLoggingConfig) Name ¶
func (config *StructuredLoggingConfig) Name() string
func (*StructuredLoggingConfig) OnInit ¶
func (config *StructuredLoggingConfig) OnInit(_ *govalin.Config)
Click to show internal directories.
Click to hide internal directories.