Method
Error
(ctx context.Context, s string, i ...any)
Source from the content-addressed store, hash-verified
| 36 | } |
| 37 | |
| 38 | func (gorm *gormLogger) Error(ctx context.Context, s string, i ...any) { |
| 39 | gorm.logger.WithSpan(gorm.tracer.Span(ctx).SpanContext()).Error(fmt.Errorf(s, i...)) |
| 40 | } |
| 41 | |
| 42 | func (gorm *gormLogger) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { |
| 43 | elapsed := time.Since(begin) |
Callers
nothing calls this directly
Tested by
no test coverage detected