fix: Replace loguru for stdlib logger
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
|||||||
|
import logging
|
||||||
|
|
||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from loguru import logger
|
|
||||||
from starlette.requests import Request
|
from starlette.requests import Request
|
||||||
|
|
||||||
from app.api import api as api_router
|
from app.api import api as api_router
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
app = FastAPI(title='prayertimes',
|
app = FastAPI(title='prayertimes',
|
||||||
version='1.0.0',
|
version='1.0.0',
|
||||||
description='An API for fetching islamic prayer times from Presidency of Religious Affairs of Turkey')
|
description='An API for fetching islamic prayer times from Presidency of Religious Affairs of Turkey')
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
beautifulsoup4==4.10.0
|
beautifulsoup4==4.10.0
|
||||||
fastapi==0.74.1
|
fastapi==0.74.1
|
||||||
httpx==0.22.0
|
httpx==0.22.0
|
||||||
loguru==0.6.0
|
|
||||||
uvicorn==0.17.5
|
uvicorn==0.17.5
|
||||||
aiocache==0.11.1
|
aiocache==0.11.1
|
||||||
Reference in New Issue
Block a user