mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
unify logging with rich
This commit is contained in:
@@ -3,9 +3,9 @@ from fastapi import FastAPI
|
||||
from app.api.nonsense import router as nonsense_router
|
||||
from app.api.shakespeare import router as shakespeare_router
|
||||
from app.api.stuff import router as stuff_router
|
||||
from app.utils import get_logger
|
||||
from app.logging import AppLogger
|
||||
|
||||
logger = get_logger(__name__)
|
||||
logger = AppLogger.__call__().get_logger()
|
||||
|
||||
app = FastAPI(title="Stuff And Nonsense API", version="0.5")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user