Documentation ¶
Index ¶
- type GormLogger
- func (l *GormLogger) Error(ctx context.Context, msg string, data ...interface{})
- func (l *GormLogger) Info(ctx context.Context, msg string, data ...interface{})
- func (l *GormLogger) LogMode(gormLogger.LogLevel) gormLogger.Interface
- func (l *GormLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), _err error)
- func (l *GormLogger) Warn(ctx context.Context, msg string, data ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormLogger ¶
func NewLogger ¶
func NewLogger( instanceName string, dbType string, logConfig loggerConfig.Config, ) *GormLogger
func (*GormLogger) Error ¶
func (l *GormLogger) Error( ctx context.Context, msg string, data ...interface{}, )
func (*GormLogger) Info ¶
func (l *GormLogger) Info( ctx context.Context, msg string, data ...interface{}, )
func (*GormLogger) LogMode ¶
func (l *GormLogger) LogMode(gormLogger.LogLevel) gormLogger.Interface
Click to show internal directories.
Click to hide internal directories.