Documentation ¶
Index ¶
- type XormLogger
- func (x *XormLogger) Debug(v ...interface{})
- func (x *XormLogger) Debugf(format string, v ...interface{})
- func (x *XormLogger) Error(v ...interface{})
- func (x *XormLogger) Errorf(format string, v ...interface{})
- func (x *XormLogger) Info(v ...interface{})
- func (x *XormLogger) Infof(format string, v ...interface{})
- func (x *XormLogger) IsShowSQL() bool
- func (x *XormLogger) Level() log.LogLevel
- func (x *XormLogger) SetLevel(l log.LogLevel)
- func (x *XormLogger) ShowSQL(show ...bool)
- func (x *XormLogger) Warn(v ...interface{})
- func (x *XormLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XormLogger ¶
type XormLogger struct {
// contains filtered or unexported fields
}
XormLogger 实现xorm的Logger接口,调用自行封装的logs
func (*XormLogger) Debug ¶
func (x *XormLogger) Debug(v ...interface{})
func (*XormLogger) Debugf ¶
func (x *XormLogger) Debugf(format string, v ...interface{})
func (*XormLogger) Error ¶
func (x *XormLogger) Error(v ...interface{})
func (*XormLogger) Errorf ¶
func (x *XormLogger) Errorf(format string, v ...interface{})
func (*XormLogger) Info ¶
func (x *XormLogger) Info(v ...interface{})
func (*XormLogger) Infof ¶
func (x *XormLogger) Infof(format string, v ...interface{})
func (*XormLogger) IsShowSQL ¶
func (x *XormLogger) IsShowSQL() bool
func (*XormLogger) Level ¶
func (x *XormLogger) Level() log.LogLevel
func (*XormLogger) SetLevel ¶
func (x *XormLogger) SetLevel(l log.LogLevel)
func (*XormLogger) ShowSQL ¶
func (x *XormLogger) ShowSQL(show ...bool)
func (*XormLogger) Warn ¶
func (x *XormLogger) Warn(v ...interface{})
func (*XormLogger) Warnf ¶
func (x *XormLogger) Warnf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.