Skip to content

Commit

Permalink
Fix logging_level not being able to be set to 4: DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Nov 10, 2023
1 parent 5271d6a commit f1d76e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def logging_level(self) -> int:
2: logging.INFO,
3: CALL,
4: logging.DEBUG,
}[min(self._verbose, 3)]
}[min(self._verbose, 4)]

@property
def debug_ws(self) -> int:
Expand All @@ -75,15 +75,15 @@ def debug_ws(self) -> int:
"""
if self._debug_ws:
return logging.DEBUG
elif self._verbose >= 3:
elif self._verbose >= 4:
return logging.INFO
return logging.NOTSET

@property
def debug_gql(self) -> int:
if self._debug_gql:
return logging.DEBUG
elif self._verbose >= 3:
elif self._verbose >= 4:
return logging.INFO
return logging.NOTSET

Expand Down

0 comments on commit f1d76e0

Please sign in to comment.