Skip to content

Commit

Permalink
Merge pull request #434 from tired-old-man/fix-honor-log-cli-parameters
Browse files Browse the repository at this point in the history
Honor the log related cli parameters
  • Loading branch information
stefanprodan authored Oct 22, 2024
2 parents 98db7fd + 2e66477 commit cc2fd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/timoni/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var rootCmd = &cobra.Command{
// a command only if one wasn't provided. This allows other
// callers (e.g. unit tests) to inject their own logger ahead of time.
if cliLogger.IsZero() {
cliLogger = logger.NewConsoleLogger(true, true)
cliLogger = logger.NewConsoleLogger(rootArgs.coloredLog, rootArgs.prettyLog)
}

// Inject the logger in the command context.
Expand Down

0 comments on commit cc2fd45

Please sign in to comment.