Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSlogLogger ¶
func NewSlogLogger(l *slog.Logger, cfg ...gormlogger.Config) gormlogger.Interface
NewSlogLogger creates a gorm logger backed by the given *slog.Logger. Uses gorm's built-in NewSlogLogger (caller fix #7610, v1.31.1+).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.