Versions in this module Expand all Collapse all v1 v1.0.26 Sep 20, 2024 Changes in this version + type GormLogger struct + ErrorSQLLevel log.Level + Level log.Level + Logger log.Logger + ParameterizedQueries bool + SlowSQLLevel log.Level + SlowThreshold time.Duration + TraceRecordNotFoundError bool + func NewGormLogger(logger log.Logger, slowSQL ...time.Duration) *GormLogger + func (gl *GormLogger) Error(ctx context.Context, msg string, data ...any) + func (gl *GormLogger) Info(ctx context.Context, msg string, data ...any) + func (gl *GormLogger) LogMode(level logger.LogLevel) logger.Interface + func (gl *GormLogger) ParamsFilter(ctx context.Context, sql string, params ...any) (string, []any) + func (gl *GormLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) + func (gl *GormLogger) Warn(ctx context.Context, msg string, data ...any)