use production logger as default logger

This commit is contained in:
genofire 2021-12-28 18:08:53 +01:00
parent b5d374c0ae
commit 2ffd30dd0f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type configData struct {
func main() { func main() {
configPath := "config.toml" configPath := "config.toml"
log := zap.L() log, _ := zap.NewProduction()
flag.StringVar(&configPath, "c", configPath, "path to configuration file") flag.StringVar(&configPath, "c", configPath, "path to configuration file")