Documentation ¶
Index ¶
- func Debug(msg string, args ...interface{})
- func Debugf(msg string, args ...interface{})
- func Error(msg string, args ...interface{})
- func Errorf(msg string, args ...interface{})
- func Fatal(msg string, args ...interface{})
- func Fatalf(msg string, args ...interface{})
- func Info(msg string, args ...interface{})
- func Infof(msg string, args ...interface{})
- func NewLogger() *zap.SugaredLogger
- func Warn(msg string, args ...interface{})
- func Warnf(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg string, args ...interface{})
Debug aliases zap.Debugw to be able to log a message with optional context
func Error ¶
func Error(msg string, args ...interface{})
Error aliases zap.Errorw to be able to log a message with optional context
func Fatal ¶
func Fatal(msg string, args ...interface{})
Fatal aliases zap.Fatalw to be able to log a message with optional context
func Info ¶
func Info(msg string, args ...interface{})
Info aliases zap.Infow to be able to log a message with optional context
func NewLogger ¶
func NewLogger() *zap.SugaredLogger
NewLogger returns a new instance of zap sugar logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.