Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cve_bin_tool/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"""Logging"""
import logging

from typing import Optional

from rich.logging import RichHandler


Expand Down Expand Up @@ -42,5 +44,6 @@ def filter(self, record):
# Add the handlers to the root logger
root_logger = logging.getLogger()

LOGGER = logging.getLogger(__package__)
LOGGER: Optional[logging.Logger] = logging.getLogger(__package__)
LOGGER.setLevel(logging.INFO)