bug fix
This commit is contained in:
parent
6002e20080
commit
8c2b78e30b
29
logger.go
29
logger.go
@ -22,22 +22,17 @@ type Logger interface {
|
||||
|
||||
type logger struct{}
|
||||
|
||||
func (l *logger) Trace(args ...interface{})
|
||||
func (l *logger) Tracef(format string, args ...interface{})
|
||||
|
||||
func (l *logger) Debug(args ...interface{})
|
||||
func (l *logger) Debugf(format string, args ...interface{})
|
||||
|
||||
func (l *logger) Info(args ...interface{})
|
||||
func (l *logger) Infof(format string, args ...interface{})
|
||||
|
||||
func (l *logger) Error(args ...interface{})
|
||||
func (l *logger) Errorf(format string, args ...interface{})
|
||||
|
||||
func (l *logger) Fatal(args ...interface{})
|
||||
func (l *logger) Fatalf(format string, args ...interface{})
|
||||
|
||||
func (l *logger) Panic(args ...interface{})
|
||||
func (l *logger) Panicf(format string, args ...interface{})
|
||||
func (l *logger) Trace(args ...interface{}) {}
|
||||
func (l *logger) Tracef(format string, args ...interface{}) {}
|
||||
func (l *logger) Debug(args ...interface{}) {}
|
||||
func (l *logger) Debugf(format string, args ...interface{}) {}
|
||||
func (l *logger) Info(args ...interface{}) {}
|
||||
func (l *logger) Infof(format string, args ...interface{}) {}
|
||||
func (l *logger) Error(args ...interface{}) {}
|
||||
func (l *logger) Errorf(format string, args ...interface{}) {}
|
||||
func (l *logger) Fatal(args ...interface{}) {}
|
||||
func (l *logger) Fatalf(format string, args ...interface{}) {}
|
||||
func (l *logger) Panic(args ...interface{}) {}
|
||||
func (l *logger) Panicf(format string, args ...interface{}) {}
|
||||
|
||||
var DefaultLogger = &logger{}
|
||||
|
Reference in New Issue
Block a user