diff options
Diffstat (limited to 'src/pyssg/__init__.py')
-rw-r--r-- | src/pyssg/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pyssg/__init__.py b/src/pyssg/__init__.py index 3bbfc27..a4e5857 100644 --- a/src/pyssg/__init__.py +++ b/src/pyssg/__init__.py @@ -1,12 +1,12 @@ +from logging import Logger, StreamHandler, getLogger, INFO + from .pyssg import main -import logging -from logging import Logger, StreamHandler from .per_level_formatter import PerLevelFormatter # since this is the root package, setup the logger here -__LOG_LEVEL: int = logging.INFO -log: Logger = logging.getLogger(__name__) +__LOG_LEVEL: int = INFO +log: Logger = getLogger(__name__) log.setLevel(__LOG_LEVEL) ch: StreamHandler = StreamHandler() ch.setLevel(__LOG_LEVEL) |