jgabaut / amboso

Build tool wrapping make. Written in bash.
GNU General Public License v3.0
4 stars 0 forks source link

[FEATURE] Refactor base verbose_flag to have default value 3 #90

Closed jgabaut closed 10 months ago

jgabaut commented 10 months ago

verbose_flag is currently expected to be 0 when not otherwise specified.

All checks for -gt 0 and similar should be upated to use well-defined levels that could be used to selectively print log output.

jgabaut commented 10 months ago

This is present in #88, but the current logic that locally checks if some specific messages should be logged still also checks for quiet_flag explicitly. Ideally, a single check point inside of the format functions should be reached, so that we can align intent with invil and give more meaning to the message tags, letting the format version quit earlier if requested tag is "lower" than current verbose_flag.