Documentation
¶
Index ¶
- type DBLogger
- func (dbLog *DBLogger) Error(ctx context.Context, msg string, objs ...interface{})
- func (dbLog *DBLogger) Info(ctx context.Context, msg string, objs ...interface{})
- func (dbLog *DBLogger) LogMode(level logger.LogLevel) logger.Interface
- func (dbLog *DBLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error)
- func (dbLog *DBLogger) Warn(ctx context.Context, msg string, objs ...interface{})
- type SQLiteHook
- type XMLFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteHook ¶
type SQLiteHook struct {
// contains filtered or unexported fields
}
func NewSQLiteHook ¶
func NewSQLiteHook(db *gorm.DB) *SQLiteHook
func (*SQLiteHook) Levels ¶
func (hook *SQLiteHook) Levels() []logrus.Level
type XMLFormatter ¶
type XMLFormatter struct { }
Click to show internal directories.
Click to hide internal directories.