Documentation
¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLevel() logrus.Level
- func GetLevelString() string
- func Infof(format string, args ...interface{})
- func ParseLevel(lvl string) (logrus.Level, error)
- func SetLevel(lvl logrus.Level)
- func SetLevelString(lvlStr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf is wrapper for logrus.Debugf to print to stdout
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf is wrapper for logrus.Errorf to print to stderr
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf is wrapper for logrus.Fatalf to print to stderr
func Infof ¶
func Infof(format string, args ...interface{})
Infof is wrapper for logrus.Infof to print to stdout
func ParseLevel ¶
ParseLevel takes a string level and returns the Logrus log level constant.
func SetLevelString ¶
SetLevelString takes in the log level in string format some of valid values: error, info, debug ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.