diff --git a/svc/core/logger.py b/svc/core/logger.py index f81f8d5..6f09c2d 100644 --- a/svc/core/logger.py +++ b/svc/core/logger.py @@ -1,5 +1,6 @@ import logging + def configure_logger() -> None: """Configure a custom logger.""" diff --git a/svc/routes/views.py b/svc/routes/views.py index 94e0213..1d975da 100755 --- a/svc/routes/views.py +++ b/svc/routes/views.py @@ -1,15 +1,17 @@ from __future__ import annotations +import logging + from fastapi import APIRouter, Depends from svc.apis.api_a.mainmod import main_func as main_func_a from svc.apis.api_b.mainmod import main_func as main_func_b from svc.core.auth import get_current_user -import logging router = APIRouter() logger = logging.getLogger(__name__) + @router.get("/") async def index() -> dict[str, str]: return { diff --git a/svc/tests/test_logger.py b/svc/tests/test_logger.py index ec60989..bc4fce7 100644 --- a/svc/tests/test_logger.py +++ b/svc/tests/test_logger.py @@ -1,5 +1,3 @@ -import logging - """Test suite for the logger module.""" import logging