master > master: code go - vereinfachte logging

This commit is contained in:
RD
2021-11-04 11:06:16 +01:00
parent 701032a109
commit 552c3197e8
20 changed files with 235 additions and 235 deletions

View File

@@ -26,9 +26,9 @@ import (
// Startet App im interaktiven Modus
func RunInteractive() error {
logging.LogPlain(setup.Logo())
logging.Plain(setup.Logo())
_, err := menuMain.ShowMenu()
logging.LogInfo("Programm terminiert.")
logging.Info("Programm terminiert.")
return err
}
@@ -48,7 +48,7 @@ func RunNonInteractive(path string) error {
return err
}
logging.LogPlain(setup.Logo())
logging.Plain(setup.Logo())
// Fälle extrahieren
cases := []types.UserConfigCase{}
@@ -157,7 +157,7 @@ func RunNonInteractive(path string) error {
}
}
if err_case != nil {
logging.LogError(err_case)
logging.Error(err_case)
}
}
setup.DisplayEndOfCase()