Documentation ¶
Index ¶
- func Error(msg string)
- func ErrorWithValues(msg string, val map[string]interface{})
- func Errorf(msg string, err ...interface{})
- func Fatal(msg string)
- func Fatalf(msg string, err ...interface{})
- func Info(msg string)
- func InfoWithValues(msg string, val map[string]interface{})
- func Infof(msg string, val ...interface{})
- func Warn(msg string)
- func Warnf(msg string, val ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(msg string)
Error used for errors that should definitely be noted. Commonly used for hooks to send errors to an error tracking service
func ErrorWithValues ¶
ErrorWithValues log the Error entries happening inside the code It also print the extra key values pairs
func Errorf ¶
func Errorf(msg string, err ...interface{})
Errorf used for errors that should definitely be noted. Commonly used for hooks to send errors to an error tracking service.
func Fatal ¶
func Fatal(msg string)
Fatal Logs first and then calls `logger.Exit(1)` logging level is set to Panic.
func Fatalf ¶
func Fatalf(msg string, err ...interface{})
Fatalf Logs first and then calls `logger.Exit(1)` logging level is set to Panic.
func Info ¶
func Info(msg string)
Info log the General operational entries about what's going on inside the application
func InfoWithValues ¶
InfoWithValues log the General operational entries about what's going on inside the application It also print the extra key values pairs
Types ¶
This section is empty.