diff --git a/config/config.go b/config/config.go index 1b14dba..d6ab1e6 100644 --- a/config/config.go +++ b/config/config.go @@ -115,7 +115,7 @@ time: true level: "warn" format: "human" ` - s := StdoutLoggingOutlet{} + s := &StdoutLoggingOutlet{} err := yaml.UnmarshalStrict([]byte(def), &s) if err != nil { panic(err)