This commit is contained in:
monosans
2024-11-07 10:39:23 +03:00
parent 87764d28bb
commit 71da938e03
+1 -1
View File
@@ -12,8 +12,8 @@ if TYPE_CHECKING:
def configure() -> logging.handlers.QueueListener:
log_queue: queue.Queue[Any] = queue.Queue()
logging.root.setLevel(logging.INFO)
logging.root.addHandler(logging.handlers.QueueHandler(log_queue))
logging.root.setLevel(logging.INFO)
# Start logging before importing rich for the first time
import rich.traceback # noqa: PLC0415