refactor(log): require destination in calls to NewLogger (#15262)

This commit is contained in:
Mark Rushakoff
2023-03-06 19:05:49 +00:00
committed by GitHub
parent e9478df161
commit f151bf627a
40 changed files with 173 additions and 178 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func Cmd(appCreator servertypes.AppCreator) *cobra.Command {
return err
}
logger := log.NewLogger()
logger := log.NewLogger(cmd.OutOrStdout())
app := appCreator(logger, db, nil, vp)
cms := app.CommitMultiStore()