Documentation ¶
Index ¶
- func Close()
- func With(ctx context.Context, logger Logger) context.Context
- type GormLogger
- func (l GormLogger) Error(ctx context.Context, s string, i ...interface{})
- func (l GormLogger) Info(ctx context.Context, s string, i ...interface{})
- func (l GormLogger) LogMode(_ logger.LogLevel) logger.Interface
- func (l GormLogger) Trace(ctx context.Context, begin time.Time, ...)
- func (l GormLogger) Warn(ctx context.Context, s string, i ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GormLogger ¶
type GormLogger struct{}
func (GormLogger) Error ¶
func (l GormLogger) Error(ctx context.Context, s string, i ...interface{})
Click to show internal directories.
Click to hide internal directories.