Skip to content

Commit

Permalink
Mod: Allow ERROR level for loggers for values below 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed Oct 14, 2023
1 parent 4394360 commit 42ac0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aac_metrics/utils/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _setup_logging(pkg_name: str, verbose: int) -> None:

if verbose < 0:
level = logging.ERROR
if verbose == 0:
elif verbose == 0:
level = logging.WARNING
elif verbose == 1:
level = logging.INFO
Expand Down

0 comments on commit 42ac0e9

Please sign in to comment.