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 only concern here is that it is a major breaking change with no easy way to add backwards compatibility. I doubt it will be implemented due to the latter reason, but worth considering how we could promote this pattern more.
The text was updated successfully, but these errors were encountered:
I know it might be hard to break the compatibilty like that,
but to be honest, it's one of the surprising choice made in roarr...
i feel other logging libs will start with the message, then add the context ....
so i would be in favor of some kind of solution that make that clearer, even if it break the API
There is no real difference between:
and
If we dropper the former API interface, it would make it easier to avoid mistakes such as attempting to pass context as printf parameters.
Great suggestion by @mikeroelens.
The only concern here is that it is a major breaking change with no easy way to add backwards compatibility. I doubt it will be implemented due to the latter reason, but worth considering how we could promote this pattern more.
The text was updated successfully, but these errors were encountered: