chores/output log file

This commit is contained in:
SouthFox 2023-03-18 22:39:46 +08:00
parent e5ff7cfe86
commit 5f76f7894c

View file

@ -40,6 +40,7 @@ app = FastAPI(
logger.remove()
logger.add(sys.stdout, level="DEBUG" if DEBUG else "INFO")
logger.add("output.log", level="DEBUG")
@app.get("/")
async def index():