qt5base-lts/tests/auto/corelib/global/qlogging
Kai Koehne c0d249019b Allow qDebug output to be configured by qSetMessagePattern()
Add qSetMessagePattern() to configure the default
message pattern. This one can still be overwritten by setting the
QT_MESSAGE_PATTERN environment variable.

Without this method, there's actually no way to change the
default output programatically. Since QT_MESSAGE_PATTERN is
evaluated when the first message arrives, setting it via e.g. qputenv
might have no effect/be too late.

Change-Id: I115e0c30606f128fdbf5c169a951ffa2a6a48517
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-04-24 17:12:46 +02:00
..
app Allow qDebug output to be configured by qSetMessagePattern() 2012-04-24 17:12:46 +02:00
test Changed qlogging unittest to install subprogram 2012-03-01 05:43:15 +01: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 Allow qDebug output to be configured by qSetMessagePattern() 2012-04-24 17:12:46 +02:00