By ubaumann, Sat 31 July 2021, modified Sat 31 July 2021, in category Brief Byte
Many CLI tools allow you to increase the verbosity level several times using the --verbose|-v
option. Counting the options and calculating the logging level is easy.
level = 10 * (4 - max(0, min(verbose, 4)))