Documentation ¶
Overview ¶
Package log serves as a light wrapper around logrus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Error = logrus.Error Errorf = logrus.Errorf Errorln = logrus.Errorln Fatal = logrus.Fatal Fatalf = logrus.Fatalf Fatalln = logrus.Fatalln Panic = logrus.Panic Panicf = logrus.Panicf Panicln = logrus.Panicln Print = logrus.Print Printf = logrus.Printf Println = logrus.Println Debug = logrus.Debug Debugf = logrus.Debugf Debugln = logrus.Debugln Warn = logrus.Warn Warnf = logrus.Warnf Warnln = logrus.Warnln Info = logrus.Info Infof = logrus.Infof Infoln = logrus.Infoln )
Alias these functions. More should be added here as needed.
Functions ¶
func GetSentryClient ¶
func GetSentryClient() *raven.Client
GetSentryClient returns the Sentry client for the application, creating it if necessary.
func WithFields ¶
WithFields is an alias for logrus.WithFields.
Types ¶
Click to show internal directories.
Click to hide internal directories.