updating logging module

- type hint
- comments
- unused imports
This commit is contained in:
Mose Mueller
2023-04-11 08:05:12 +02:00
parent 0dce315bfe
commit a29878cbc1
3 changed files with 13 additions and 12 deletions

View File

@ -4,6 +4,9 @@ from enum import Enum
from pydantic import BaseModel, Field
# TODO: we are not using all possible severity levels from loguru here (see
# https://loguru.readthedocs.io/en/stable/api/logger.html). Either add them to this enum
# or prevent people from using the other severity levels or tell them not to use them.
class LogBroadcastMessageLevel(Enum):
# low level messages that help tracking down issues
DEBUG = "DEBUG"