Add log level constants to package
This commit is contained in:
parent
6fa73071a5
commit
0e14256e0f
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,15 @@ import (
|
||||||
"github.com/sirupsen/logrus"
|
"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
|
var log *Logger
|
||||||
|
|
||||||
// Logger ...
|
// Logger ...
|
||||||
|
|
Loading…
Reference in a new issue