Documentation ¶
Index ¶
- Variables
- func DPanicf(template string, args ...interface{})
- func DPanicw(msg string, keysAndValues ...interface{})
- func Debugf(template string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatalf(template string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func GetLogger() *zap.SugaredLogger
- func Infof(template string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func InitLogger(opts ...Option)
- func Panicf(template string, args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- func Sync() error
- func Warnf(template string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSugaredLogger *zap.SugaredLogger
Functions ¶
func GetLogger ¶
func GetLogger() *zap.SugaredLogger
func InitLogger ¶
func InitLogger(opts ...Option)
Types ¶
Click to show internal directories.
Click to hide internal directories.