Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(fmt string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(fmt string, args ...interface{})
- func Info(args ...interface{})
- func Infof(fmt string, args ...interface{})
- func InitLog(logConfFile string) error
- func InitLogger(conf *zap.Config)
- func SetLogger(log Logger)
- func SetLoggerLevel(level string) bool
- func Warn(args ...interface{})
- func Warnf(fmt string, args ...interface{})
- type DubboLogger
- type Logger
- type OpsLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLoggerLevel ¶ added in v1.3.0
SetLoggerLevel use for set logger level
Types ¶
type DubboLogger ¶ added in v1.3.0
type DubboLogger struct {
Logger
// contains filtered or unexported fields
}
nolint
func (*DubboLogger) SetLoggerLevel ¶ added in v1.3.0
func (dl *DubboLogger) SetLoggerLevel(level string)
SetLoggerLevel use for set logger level
type Logger ¶
type Logger interface {
Info(args ...interface{})
Warn(args ...interface{})
Error(args ...interface{})
Debug(args ...interface{})
Infof(fmt string, args ...interface{})
Warnf(fmt string, args ...interface{})
Errorf(fmt string, args ...interface{})
Debugf(fmt string, args ...interface{})
}
Logger is the interface for Logger types
Click to show internal directories.
Click to hide internal directories.