Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WithError = Logger.WithError WithFields = Logger.WithFields WithField = Logger.WithField Debug = Logger.Debug Info = Logger.Info Warn = Logger.Warn Error = Logger.Error Fatal = Logger.Fatal )
Convenience access to the common logging functions.
View Source
var Logger = logrus.New()
Logger is a globally shared logrus instance.
Functions ¶
func InitLoggly ¶
InitLoggly will create a loggly hook and register it. It will also register a lifecycle shutdown callback to flush any remaining logs, if you're using the lifecycle package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.