You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logging middleware is really basic, in order to manage it better it would need more flexibility, for example the isError is only true for exceptions. But we might want isError to be true also for 4xx statuses. Cause if you send to Google Cloud Logging like I do you want more info on 4xx like payload and such.
One easy way to do that will be to have something like:
The logging middleware is really basic, in order to manage it better it would need more flexibility, for example the isError is only true for exceptions. But we might want isError to be true also for 4xx statuses. Cause if you send to Google Cloud Logging like I do you want more info on 4xx like payload and such.
One easy way to do that will be to have something like:
With that we could do whatever needed to have proper logs.
We could probably also have a logRequestsToCloundLogging(...) that do the job all in one ˆˆ
The text was updated successfully, but these errors were encountered: