Documentation
¶
Index ¶
- type GormLogger
- func (g *GormLogger) Error(ctx context.Context, s string, i ...interface{})
- func (g *GormLogger) Info(ctx context.Context, s string, i ...interface{})
- func (g *GormLogger) LogMode(level logger.LogLevel) logger.Interface
- func (g *GormLogger) Trace(ctx context.Context, begin time.Time, ...)
- func (g *GormLogger) Warn(ctx context.Context, s string, i ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormLogger ¶
type GormLogger struct {
// contains filtered or unexported fields
}
func GormLoggerNew ¶
func GormLoggerNew(logger *zap.SugaredLogger) *GormLogger
func (*GormLogger) Error ¶
func (g *GormLogger) Error(ctx context.Context, s string, i ...interface{})
func (*GormLogger) Info ¶
func (g *GormLogger) Info(ctx context.Context, s string, i ...interface{})
Click to show internal directories.
Click to hide internal directories.