refactor(log): require destination in calls to NewLogger (#15262)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user