Remove unused variables in TextFormatter

This commit is contained in:
Sergey Romanov 2019-01-12 00:22:21 +05:00 committed by Richard Poirier
parent eef6b768ab
commit 78fb3852d9
1 changed files with 5 additions and 10 deletions

View File

@ -12,18 +12,13 @@ import (
)
const (
nocolor = 0
red = 31
green = 32
yellow = 33
blue = 36
gray = 37
)
var (
baseTimestamp time.Time
emptyFieldMap FieldMap
)
var baseTimestamp time.Time
func init() {
baseTimestamp = time.Now()