You should go and try pydantic logfire from @samuelcolvin@fosstodon.org right now. It is amazing!

https://pydantic.dev/