Documentation ¶
Index ¶
- func Debugf(format string, params ...interface{})
- func Errorf(format string, params ...interface{})
- func Fatalf(format string, params ...interface{})
- func GetLogger() *zap.Logger
- func GetSugaredLogger() *zap.SugaredLogger
- func Infof(format string, params ...interface{})
- func InitLogger(logLevel string)
- func InitProdLogger(logLevel string)
- func Warnf(format string, params ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, params ...interface{})
Debugf logs a formatted debug message
func Errorf ¶
func Errorf(format string, params ...interface{})
Errorf logs a formatted error message
func Fatalf ¶
func Fatalf(format string, params ...interface{})
Fatalf logs a formatted fatal message
func GetSugaredLogger ¶
func GetSugaredLogger() *zap.SugaredLogger
GetSugaredLogger returns the sugared zap logger
func InitProdLogger ¶ added in v0.1.3
func InitProdLogger(logLevel string)
InitProdLogger initializes production logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.