changed implementation from time format

alpha v1.0.39
alex 2023-02-17 22:25:16 +01:00
parent 3b388b644e
commit e2ebe9077b
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package gocnjhelper
import (
"os"
"time"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
@ -18,7 +17,7 @@ func InitLogger(debug bool, colorizedOutput bool, rabbitMqLogging bool) {
}
if colorizedOutput {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.TimeOnly})
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: "15:04:05"})
}
LogInfof("Debug: %t", debug)