Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func ResetLogger ¶
func ResetLogger()
Types ¶
type Logger ¶
type Logger interface { Trace(args ...interface{}) Tracef(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Print(args ...interface{}) Printf(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) WithFields(fields logrus.Fields) *logrus.Entry }
type LogrusWriter ¶
type LogrusWriter struct{}
type SentryHook ¶
type SentryHook struct {
// contains filtered or unexported fields
}
func NewSentryHook ¶
func NewSentryHook(sampleRate float64) *SentryHook
func (*SentryHook) Levels ¶
func (hook *SentryHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.