fix typo
This commit is contained in:
parent
9a50396982
commit
a72f22377e
|
@ -48,7 +48,7 @@ func SetDefaultLoggerConfig(cfgMode string, cfgFolder string, cfgLevel log.Level
|
|||
logLevel = cfgLevel
|
||||
log.SetLevel(logLevel)
|
||||
|
||||
if LogFormat == 'json' {
|
||||
if LogFormat == "json" {
|
||||
logFormatter = &log.JSONFormatter{}
|
||||
} else {
|
||||
logFormatter = &log.TextFormatter{TimestampFormat: time.RFC3339, FullTimestamp: true, ForceColors: forceColors}
|
||||
|
|
Loading…
Reference in a new issue