Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormLogger ¶
func NewLogger ¶
func NewLogger(logger *logrus.Logger) *GormLogger
NewLogger initiates new gorm logger
func (*GormLogger) Print ¶
func (d *GormLogger) Print(values ...interface{})
Print format & print log
func (*GormLogger) Println ¶
func (d *GormLogger) Println(v ...interface{})
Println accepts db logs ang uses logrus to log them
Click to show internal directories.
Click to hide internal directories.