Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Discussion: Review logging / console output for --log-level support #64

Open
benc-uk opened this issue Jun 8, 2021 · 0 comments
Open
Assignees
Labels

Comments

@benc-uk
Copy link
Collaborator

benc-uk commented Jun 8, 2021

Currently all output is done via pkg/console.go which supports the following message levels, the levels are mapped to colours

  • Error - red text
  • Warning - yellow text
  • Info - blue text
  • Success - green text
  • Debug - magenta text

The only one of these which is controllable is debug, which will only be output if the global --debug flag is passed to rover

We could replace --debug with a --log-level flag and map that level to the existing 5 levels or do we want to step back and examine logging & output in more depth

Thoughts / ideas:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants