update docs

This commit is contained in:
Hayden 2022-09-14 09:35:23 -08:00
parent 84144d823d
commit 6341aebe66
13 changed files with 139 additions and 19 deletions

View file

@ -14,7 +14,7 @@ import (
func (a *app) setupLogger() {
// Logger Init
// zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
if a.conf.Mode != config.ModeProduction {
if a.conf.Log.Format != config.LogFormatJSON {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
}