Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormLogger ¶ added in v1.0.5
type GormLogger struct {
// contains filtered or unexported fields
}
GormLogger Gorm Logger
func NewWithLogger ¶ added in v1.0.5
func NewWithLogger(logger *logrus.Logger) *GormLogger
NewWithLogger Create new logger with custom logger
func NewWithName ¶ added in v1.0.5
func NewWithName(name string) *GormLogger
NewWithName Create new logger with custom name
func NewWithNameAndLogger ¶ added in v1.0.5
func NewWithNameAndLogger(name string, logger *logrus.Logger) *GormLogger
NewWithNameAndLogger Create new logger with custom name and logger
func (*GormLogger) Print ¶ added in v1.0.5
func (l *GormLogger) Print(values ...interface{})
Print 输出Log
Click to show internal directories.
Click to hide internal directories.