Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XormLogger ¶
type XormLogger struct { *zap.SugaredLogger // contains filtered or unexported fields }
XormLogger xorm日志
func (*XormLogger) AfterSQL ¶
func (l *XormLogger) AfterSQL(ctx log.LogContext)
AfterSQL implements ContextLogger
func (*XormLogger) BeforeSQL ¶
func (l *XormLogger) BeforeSQL(log.LogContext)
BeforeSQL implements ContextLogger
func (*XormLogger) SetLevel ¶
func (l *XormLogger) SetLevel(level log.LogLevel)
SetLevel implement log.Logger
func (*XormLogger) ShowSQL ¶
func (l *XormLogger) ShowSQL(show ...bool)
ShowSQL implement log.Logger
Click to show internal directories.
Click to hide internal directories.