Vytautas Strimaitis

Results 7 comments of Vytautas Strimaitis

Yes, I'm aware of them (and I've used them before with Flask). But the methods inside of this class (`format` and `_format_log_object`) are not `async`, so I can't write something...

> Hey @vstrimaitis are you still working on this PR? The PR is very close barring a few small cleanup changes! I have most of the suggestions implemented, but I'm...

Hi @stephane-klein! I ended up making a custom middleware class which extends `BaseHTTPMiddleware` and monkeypatched `json_logging.framework.fastapi.implementation.JSONLoggingASGIMiddleware` to point to this new class. The actual implementation of the class is exactly...

> Is it similar with #72 ? Yep, that's a similar idea, but that issue is only concerned with case sensitivity and precision checks. What I had in mind is...

The API doesn't provide this information directly, but it's probably possible to scrape it somehow. If you want to have a stab at it - go ahead 😁