qt5base-lts/tests/auto/corelib/global/qlogging
Kai Koehne e968793e81 Add qFormatLogMessage()
Export the former qMessageFormatString() as qFormatLogMessage(). This
allows custom message handlers to format their messages just like the
default message handler, taking qSetMessagePattern() /
QT_MESSAGE_PATTERN into account.

The method should arguably not add the '\n' at the end, which a follow
up commit will fix.

Change-Id: Ib2a9cfda91473df079daf03bf3197e6ac63e013e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
2014-07-30 16:27:22 +02:00
..
app Logging: support %{backtrace} in QT_MESSAGE_PATTERN 2014-07-28 09:03:47 +02:00
test Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +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 Add qFormatLogMessage() 2014-07-30 16:27:22 +02:00