Skip to content

Commit

Permalink
fix: log level display in CLI arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-makerx authored and achidlow committed Dec 11, 2023
1 parent ed22176 commit 9bfc4e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wyvern/logging_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class LogLevel(IntEnum):
fatal = logging.FATAL
critical = logging.CRITICAL

def __str__(self) -> str:
return self.name

@staticmethod
def from_string(s: str) -> LogLevel:
try:
Expand Down

0 comments on commit 9bfc4e1

Please sign in to comment.