Fix syntax error in if statement

This commit is contained in:
Victor Edvardsson 2024-04-14 21:31:20 +02:00
parent bf179f409d
commit cb6e59f59c
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ func SetDefaultLoggerConfig(cfgMode string, cfgFolder string, cfgLevel log.Level
if LogFormat == "json" {
logFormatter = &log.JSONFormatter{}
} elseif = "native" {
} else if = "native" {
logFormatter = &log.TextFormatter{TimestampFormat: time.RFC3339, FullTimestamp: true, ForceColors: forceColors}
} else {
return fmt.Errorf("log format '%s' unknown", LogFormat)