qt5base-lts/tests/auto/corelib/global/qlogging
Kai Koehne 5bfe794aaa Remove trailing '\n' in qFormatLogMessage output
Do not automatically add a \n to all messages formatted by
qFormatLogMessage. Some backends require a final newline,
some don't, so it's best to only append it where it's actually needed.

The returned string will be null if the pattern is empty. This allows
to differentiate between the case that the pattern just didn't apply
(empty line is printed), and the case that qSetMessagePattern(QString())
have been called (nothing is printed).

Change-Id: I17fde997a4074f58f82de6dea129948155c322d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
2014-10-27 08:59:02 +01:00
..
app Logging: Disable tracking of debug source info for release builds 2014-10-01 16:06:27 +02:00
test Logging: Disable tracking of debug source info for release builds 2014-10-01 16:06:27 +02:00
qlogging.pro Fixed tst_qlogging app silently not compiled in some -fast builds. 2012-02-22 04:48:36 +01:00
tst_qlogging.cpp Remove trailing '\n' in qFormatLogMessage output 2014-10-27 08:59:02 +01:00