Skip to content

Commit

Permalink
Fixed new linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Sep 17, 2024
1 parent 62c1f79 commit 365c534
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gorm.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import (

// GormLoggerInterface is a logger interface to help work with GORM
type GormLoggerInterface interface {
Error(context.Context, string, ...interface{})
Error(ctx context.Context, s string, v ...interface{})
GetMode() GormLogLevel
GetStackLevel() int
Info(context.Context, string, ...interface{})
SetMode(GormLogLevel) GormLoggerInterface
Info(ctx context.Context, s string, v ...interface{})
SetMode(gl GormLogLevel) GormLoggerInterface
SetStackLevel(level int)
Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
Warn(context.Context, string, ...interface{})
Warn(ctx context.Context, s string, v ...interface{})
}

// GormLogLevel is the GORM log level
Expand Down

0 comments on commit 365c534

Please sign in to comment.