Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultLogger ¶
func GetDefaultLogger() *zap.SugaredLogger
func GetLogger ¶ added in v1.1.9
func GetLogger(cnfpath string) *zap.SugaredLogger
func SetupOtherLogger ¶
func SetupOtherLogger(log LoggerINF)
Types ¶
type LoggerINF ¶
type LoggerINF interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Panicf(format string, args ...interface{}) Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) Fatal(args ...interface{}) Panic(args ...interface{}) }
var (
Logger LoggerINF
)
Click to show internal directories.
Click to hide internal directories.