Open prodis opened 2 years ago
And maybe could be a good idea to move the Tesla.Middleware.MetaLogger
to a separate library. 💡
And maybe could be a good idea to move the
Tesla.Middleware.MetaLogger
to a separate library. 💡
I think the code is too small and simple to be extracted now, not worth the effort of a major release.
There is a single fixed log format for the
Tesla.Middleware.MetaLogger
(and in fact not well-documented).Request
Response:
Example:
Supporting log formatters, the default logger formatter could be the current one and open the flexibility to have as many as we want. For example, a log formatter for Datadog JSON or a
curl
output for the request.