chrisK824 / fastapi-gae-logging

Custom Cloud Logging handler for FastAPI applications deployed in Google App Engine. Groups logs coming from the same request lifecycle and propagates the maximum log level throughout the request lifecycle using middleware and context management.
MIT License
3 stars 0 forks source link

Make library more generic (only dependent on Starlette) #1

Open iffius opened 3 hours ago

iffius commented 3 hours ago

First, thank you for figuring this out. It works great.

I ended up adapting this library to work with Fasthtml which is also based on Starlette.

Using the Startlette app would make this library work seamlessly with FastAPI, Fasthtml, Startlette and possibly any other frameworks based off of Starlette.

chrisK824 commented 2 hours ago

Hi @iffius , thanks for pointing this out!

I just released a new version, where I dropped the FastAPI dependency and replaced with just Starlette.

I tried to reflect that a bit in the readme etc, but its too late for the package name hehe, thanks anyway mate!