Documentation ¶
Index ¶
- Variables
- func IniMetics()
- func NewXORMLogger(logger *Logger) log.Logger
- type Logger
- func (logger *Logger) Debug(args ...interface{})
- func (logger *Logger) Debugf(format string, args ...interface{})
- func (logger *Logger) Debugln(args ...interface{})
- func (logger *Logger) Error(args ...interface{})
- func (logger *Logger) Errorf(format string, args ...interface{})
- func (logger *Logger) Errorln(args ...interface{})
- func (logger *Logger) Fatal(args ...interface{})
- func (logger *Logger) Fatalf(format string, args ...interface{})
- func (logger *Logger) Fatalln(args ...interface{})
- func (logger *Logger) Info(args ...interface{})
- func (logger *Logger) Infof(format string, args ...interface{})
- func (logger *Logger) Infoln(args ...interface{})
- func (logger *Logger) Panic(args ...interface{})
- func (logger *Logger) Panicf(format string, args ...interface{})
- func (logger *Logger) Panicln(args ...interface{})
- func (logger *Logger) Print(args ...interface{})
- func (logger *Logger) Printf(format string, args ...interface{})
- func (logger *Logger) Println(args ...interface{})
- func (logger *Logger) V(v int) bool
- func (logger *Logger) Warn(args ...interface{})
- func (logger *Logger) Warnf(format string, args ...interface{})
- func (logger *Logger) Warning(args ...interface{})
- func (logger *Logger) Warningf(format string, args ...interface{})
- func (logger *Logger) Warningln(args ...interface{})
- func (logger *Logger) Warnln(args ...interface{})
- func (logger *Logger) WithCaller(skip int) *Logger
- func (logger *Logger) WithError(err error) *Logger
- func (logger *Logger) WithField(key string, value interface{}) *Logger
- func (logger *Logger) WithFields(fields map[string]interface{}) *Logger
- type XORMLogger
- func (s *XORMLogger) Debug(v ...interface{})
- func (s *XORMLogger) Debugf(format string, v ...interface{})
- func (s *XORMLogger) Error(v ...interface{})
- func (s *XORMLogger) Errorf(format string, v ...interface{})
- func (s *XORMLogger) Info(v ...interface{})
- func (s *XORMLogger) Infof(format string, v ...interface{})
- func (s *XORMLogger) IsShowSQL() bool
- func (s *XORMLogger) Level() log.LogLevel
- func (s *XORMLogger) SetLevel(l log.LogLevel)
- func (s *XORMLogger) ShowSQL(show ...bool)
- func (s *XORMLogger) Warn(v ...interface{})
- func (s *XORMLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxInt64 = ^int64(0)
Functions ¶
func NewXORMLogger ¶
Types ¶
type XORMLogger ¶
type XORMLogger struct {
// contains filtered or unexported fields
}
func (*XORMLogger) Debug ¶
func (s *XORMLogger) Debug(v ...interface{})
Debug implement core.ILogger
func (*XORMLogger) Debugf ¶
func (s *XORMLogger) Debugf(format string, v ...interface{})
Debugf implement core.ILogger
func (*XORMLogger) Error ¶
func (s *XORMLogger) Error(v ...interface{})
Error implement core.ILogger
func (*XORMLogger) Errorf ¶
func (s *XORMLogger) Errorf(format string, v ...interface{})
Errorf implement core.ILogger
func (*XORMLogger) Infof ¶
func (s *XORMLogger) Infof(format string, v ...interface{})
Infof implement core.ILogger
func (*XORMLogger) IsShowSQL ¶
func (s *XORMLogger) IsShowSQL() bool
IsShowSQL implement core.ILogger
func (*XORMLogger) SetLevel ¶
func (s *XORMLogger) SetLevel(l log.LogLevel)
SetLevel implement core.ILogger
func (*XORMLogger) ShowSQL ¶
func (s *XORMLogger) ShowSQL(show ...bool)
ShowSQL implement core.ILogger
func (*XORMLogger) Warnf ¶
func (s *XORMLogger) Warnf(format string, v ...interface{})
Warnf implement core.ILogger
Click to show internal directories.
Click to hide internal directories.