goserver_sync/core/logger/ilogger.go

22 lines
542 B
Go

package logger
type ILogger interface {
Tracef(format string, params ...interface{})
Debugf(format string, params ...interface{})
Infof(format string, params ...interface{})
Warnf(format string, params ...interface{}) error
Errorf(format string, params ...interface{}) error
Criticalf(format string, params ...interface{}) error
Trace(v ...interface{})
Debug(v ...interface{})
Info(v ...interface{})
Warn(v ...interface{}) error
Error(v ...interface{}) error
Critical(v ...interface{}) error
Close()
Flush()
Closed() bool
}