Am 11. Juni 2025 12:17:57 UTC schrieb Manos Pitsidianakis 
<manos.pitsidiana...@linaro.org>:
>On Wed, Jun 11, 2025 at 2:05 PM Paolo Bonzini <pbonz...@redhat.com> wrote:
>>
>> On Wed, Jun 11, 2025 at 12:57 PM Manos Pitsidianakis
>> <manos.pitsidiana...@linaro.org> wrote:
>>
>> > Maybe we could take this chance to remove the requirement for trailing
>> > newline? Not urgent, and also something we could change afterwards
>> > anyway. We could also introduce log_mask_ln! macro but now I'm just
>> > bikeshedding.
>>
>> Good idea; there is no "formatln!" but I think you could use concat instead.
>
>I think `let formatted_string = format!("{}\n", format_args!($fmt
>$($args)*));` might be sufficient, but I haven't checked it myself
>

So the idea is to have a log_mask_ln! macro instead, since there isn't really a 
point for a macro that doesn't add `\n` at the end. Correct?

Reply via email to