Documentation
¶
Index ¶
- Variables
- 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{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewZeroLogger), fx.Provide(NewGormLogger), )
Functions ¶
This section is empty.
Types ¶
type GormLogger ¶
type GormLogger struct {
// contains filtered or unexported fields
}
func NewGormLogger ¶
func NewGormLogger(logger *Logger) *GormLogger
func (GormLogger) Error ¶
func (g GormLogger) Error(ctx context.Context, s string, i ...interface{})
Click to show internal directories.
Click to hide internal directories.