Documentation ¶
Index ¶
- type CustomCtxLogger
- func (l *CustomCtxLogger) AfterSQL(ctx xormLog.LogContext)
- func (l *CustomCtxLogger) BeforeSQL(ctx xormLog.LogContext)
- func (l *CustomCtxLogger) Debugf(format string, v ...interface{})
- func (l *CustomCtxLogger) Errorf(format string, v ...interface{})
- func (l *CustomCtxLogger) Infof(format string, v ...interface{})
- func (l *CustomCtxLogger) IsShowSQL() bool
- func (l *CustomCtxLogger) Level() xormLog.LogLevel
- func (l *CustomCtxLogger) SetLevel(c xormLog.LogLevel)
- func (l *CustomCtxLogger) ShowSQL(show ...bool)
- func (l *CustomCtxLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomCtxLogger ¶
func (*CustomCtxLogger) AfterSQL ¶
func (l *CustomCtxLogger) AfterSQL(ctx xormLog.LogContext)
AfterSQL implements ContextLogger
func (*CustomCtxLogger) BeforeSQL ¶
func (l *CustomCtxLogger) BeforeSQL(ctx xormLog.LogContext)
BeforeSQL implements ContextLogger
func (*CustomCtxLogger) Debugf ¶
func (l *CustomCtxLogger) Debugf(format string, v ...interface{})
func (*CustomCtxLogger) Errorf ¶
func (l *CustomCtxLogger) Errorf(format string, v ...interface{})
func (*CustomCtxLogger) Infof ¶
func (l *CustomCtxLogger) Infof(format string, v ...interface{})
func (*CustomCtxLogger) IsShowSQL ¶
func (l *CustomCtxLogger) IsShowSQL() bool
func (*CustomCtxLogger) Level ¶
func (l *CustomCtxLogger) Level() xormLog.LogLevel
func (*CustomCtxLogger) SetLevel ¶
func (l *CustomCtxLogger) SetLevel(c xormLog.LogLevel)
func (*CustomCtxLogger) ShowSQL ¶
func (l *CustomCtxLogger) ShowSQL(show ...bool)
func (*CustomCtxLogger) Warnf ¶
func (l *CustomCtxLogger) Warnf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.