Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Error(msg string)
Errorf(msg string, args ...interface{})
Warn(msg string)
Warnf(msg string, args ...interface{})
Debug(msg string)
Debugf(msg string, args ...interface{})
Info(msg string)
Infof(msg string, args ...interface{})
Fatal(msg string)
Fatalf(msg string, args ...interface{})
}
var Log Logger
type LoggerType ¶
type LoggerType string
const ( // BasicLogger is the basic logger BasicLogger LoggerType = "basic" // ZapLogger is the zap logger ZapLogger LoggerType = "zap" )
Click to show internal directories.
Click to hide internal directories.