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 DubbogoPXLogger
- type Logger
- type OpsLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func SetLoggerLevel ¶
Types ¶
type DubbogoPXLogger ¶
type DubbogoPXLogger struct { Logger // contains filtered or unexported fields }
DubbogoPXLogger is logger struct
func (*DubbogoPXLogger) SetLoggerLevel ¶
func (dpl *DubbogoPXLogger) SetLoggerLevel(level string)
SetLoggerLevel ...
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
Click to show internal directories.
Click to hide internal directories.