diff --git a/src/wyvern/logging_config.py b/src/wyvern/logging_config.py index 0e32ff6496..22c3ec00ea 100644 --- a/src/wyvern/logging_config.py +++ b/src/wyvern/logging_config.py @@ -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: