teamhide / fastapi-boilerplate

FastAPI boilerplate for real world production
987 stars 156 forks source link

What is the appropriate way to log? #35

Open lethe3000 opened 5 months ago

lethe3000 commented 5 months ago

I want to add some logs(INFO, WARNING, etc), so are there some reference that how to log in this boilerplate that how to initialize logger and do some print?

teamhide commented 4 months ago

@lethe3000 Currently, there is no reference in this code. I think it would be okay to put the initialization code inside the core folder.