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
It would be helpful to be able to specify custom format strings when using string interpolation to generate messages. This is especially true when handling floating point numbers. At first sight it looks like this could be done by changing the methods in
DDLogMessageFormat.StringInterpolation from this style:
The proper way would be to add fully typed format specifiers, similar to what OSLog does.
In the meantime, I'd recommend using FormatStyle if possible. This will lead to the parameter being recorded as string, though. However, since we're not (yet) doing much with the concrete values (except for recording the format), that's fine for now.
It would be helpful to be able to specify custom format strings when using string interpolation to generate messages. This is especially true when handling floating point numbers. At first sight it looks like this could be done by changing the methods in
DDLogMessageFormat.StringInterpolation from this style:
to this style:
This would enable formatting control when using string interpolation like this:
The text was updated successfully, but these errors were encountered: