Documentation
¶
Index ¶
- func Debug(msg string)
- func Error(trace string, err error)
- func Fatal(args ...interface{})
- func Info(msg string)
- func Infof(msg string)
- func Printf(msg string, args ...interface{})
- func Println(args ...interface{})
- func SetLogLevel(level int)
- func StripSpecialChars(s string) string
- func Trace() (line string)
- func WithError(err error) *logrus.Entry
- func WithField(key string, value interface{}) *logrus.Entry
- func WithFields(fields logrus.Fields) *logrus.Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Printf ¶
func Printf(msg string, args ...interface{})
Printf overrides equivalent logrus's func
func StripSpecialChars ¶
StripSpecialChars strips newlines and tabs from a string
func Trace ¶
func Trace() (line string)
Trace returns the source code line and function name (of the calling function)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.