Änderung des Zeitstempels beim Logging
All checks were successful
release-tag / release-image (push) Successful in 44s

This commit is contained in:
2025-01-16 11:53:36 +01:00
parent cf50911e80
commit ffaa04c46c

View File

@@ -183,7 +183,7 @@ var SysLog = []string{}
func WriteLog(a ...any) error {
if DEBUG {
fmt.Println(time.Now().String(), a)
fmt.Println(time.Now().Format("2006-01-02_15-04-05"), a)
}
SysLog = append(SysLog, fmt.Sprintf("%s %s", time.Now().String(), a))
// JSON konvertieren