mirror of https://github.com/sirupsen/logrus.git
Remove unused variables in TextFormatter
This commit is contained in:
parent
eef6b768ab
commit
78fb3852d9
|
@ -12,18 +12,13 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
nocolor = 0
|
|
||||||
red = 31
|
red = 31
|
||||||
green = 32
|
|
||||||
yellow = 33
|
yellow = 33
|
||||||
blue = 36
|
blue = 36
|
||||||
gray = 37
|
gray = 37
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var baseTimestamp time.Time
|
||||||
baseTimestamp time.Time
|
|
||||||
emptyFieldMap FieldMap
|
|
||||||
)
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
baseTimestamp = time.Now()
|
baseTimestamp = time.Now()
|
||||||
|
|
Loading…
Reference in New Issue