Von: "Damir Shayhutdinov" <[EMAIL PROTECTED]>
> Hi!
>
> qPrintable in qt4 is good for logging, but I think there is a better
> way to do it.
>
>
> Let's extend SIM logging API with function SIM::log(level, const QString&)
>
> So, instead of
>
> log(level, "Here are debug strings %s and %s",
> debug_str1.latin1(),
> debug_str2.latin1())
>
> we can use
> log(level, QString("Here are debug strings %1 and %2")
> .arg(debug_str1).arg(debug_str2));
>
> And do not bother about encodings at all.
Please add this to trunk too since there are also a few places where this can
be used.
Christian
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
sim-im-main mailing list
[email protected]
https://mailman.dg.net.ua/listinfo/sim-im-main