diff --git a/simple_logger_handler/__init__.py b/simple_logger_handler/__init__.py index 93cfbd8..dab8e36 100644 --- a/simple_logger_handler/__init__.py +++ b/simple_logger_handler/__init__.py @@ -5,4 +5,4 @@ from .logger_handler import ( setup_logger, ) -__all__ = ["setup_logger", "configure_logging", "adopt_uvicorn_loggers", "LOG_LEVEL"] \ No newline at end of file +__all__ = ["LOG_LEVEL", "adopt_uvicorn_loggers", "configure_logging", "setup_logger"] \ No newline at end of file diff --git a/simple_logger_handler/logger_handler.py b/simple_logger_handler/logger_handler.py index 7c7ad5b..de33ee9 100644 --- a/simple_logger_handler/logger_handler.py +++ b/simple_logger_handler/logger_handler.py @@ -4,7 +4,6 @@ import threading from pythonjsonlogger.json import JsonFormatter - _VALID_LEVELS = {"DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"} _FORMAT = "%(asctime)s %(name)s %(levelname)s %(message)s" _NOISY_LOGGERS = ("urllib3", "httpx", "httpcore", "asyncio", "multipart")