Add log level constants to package

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-10 20:31:41 +00:00
parent 6fa73071a5
commit 0e14256e0f

View file

@ -21,6 +21,15 @@ import (
"github.com/sirupsen/logrus"
)
const (
PanicLevel = logrus.PanicLevel
FatalLevel = logrus.FatalLevel
ErrorLevel = logrus.ErrorLevel
WarnLevel = logrus.WarnLevel
InfoLevel = logrus.InfoLevel
DebugLevel = logrus.DebugLevel
)
var log *Logger
// Logger ...