aztfmod / rovergo

The next version of Rover, the command line tool for Azure CAF Landingzones. Developed in Go
MIT License
10 stars 7 forks source link

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

Open benc-uk opened 3 years ago

benc-uk commented 3 years ago

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

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: