Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
Zap *zap.SugaredLogger
}
Logger is an alternative implementation of *gorm.Logger
func (*Logger) GetZapLogger ¶
func (log *Logger) GetZapLogger() *zap.SugaredLogger
GetZapLogger returns zapSugaredLogger
Click to show internal directories.
Click to hide internal directories.