Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
View Source
var Sugar *zap.SugaredLogger
Functions ¶
func CheckIfError ¶
func CheckIfError(err error)
CheckIfError should be used to naively panics if an error is not nil.
func ConsoleOutputf ¶
func ConsoleOutputf(format string, args ...interface{})
ConsoleOutput should be used to output information to the console.
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf should be used to output debug information.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf should be used to display an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.