From 892a3a96c07266456c45047e7fa977b5832792ee Mon Sep 17 00:00:00 2001 From: Mark Dessain Date: Thu, 16 Mar 2023 08:17:37 +0100 Subject: [PATCH] format --- log/load.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/load.go b/log/load.go index cb1f92f4..c1c9eb82 100644 --- a/log/load.go +++ b/log/load.go @@ -10,7 +10,7 @@ import( func Load() { zerolog.TimeFieldFormat = time.RFC3339Nano if os.Getenv("ENVIRONMENT") == "development" { - Logger =Output(ConsoleWriter{Out: os.Stderr}) + Logger = Output(zerolog.ConsoleWriter{Out: os.Stderr}) Debug().Msg("Development Mode") for _, e := range os.Environ() {