Documentation ¶
Overview ¶
Logging functions and logger object.
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func DiscordGoLogger(msgL, _ int, format string, a ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLevel() logrus.Level
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func IsLevelEnabled(level logrus.Level) bool
- func SetLevel(level logrus.Level)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Formatter = formatter{logrus.TextFormatter{ ForceColors: false, DisableColors: false, ForceQuote: false, DisableQuote: false, EnvironmentOverrideColors: false, DisableTimestamp: false, FullTimestamp: true, TimestampFormat: "", DisableSorting: true, SortingFunc: nil, DisableLevelTruncation: false, PadLevelText: false, QuoteEmptyFields: false, FieldMap: nil, CallerPrettyfier: nil, }}
View Source
var Logger = logrus.New()
Functions ¶
func DiscordGoLogger ¶
func IsLevelEnabled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.