diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-09-20 11:45:54 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-16 17:10:15 +0200 |
commit | 15ddb91bc767b55297cbb35f293f5900379fee18 (patch) | |
tree | 8ee6c3b886c0d5dcde2cac5b30494fd5a960f9cd /LGPL_EXCEPTION.txt | |
parent | 42c8c7e9dbf4c9e67b88bd16f0fe4e0d3c57857b (diff) |
Print non-default categories in default message handler
Change the default output of the logging framework to prefix messages
with a 'category: ' in case the category is not "default", so that e.g.
QLoggingCategory cat("qt.core.codes.windows");
qCWarning(cat) << "MultiByteToWideChar: Cannot convert multibyte text";
will print
qt.core.codes.windows: MultiByteToWideChar: Cannot convert multibyte text
while output from qWarning etc will show unaltered output. This should
help users to discover categories, and to group output together.
Change-Id: Iac2e1514f7dc5671966c36a440a119c857564cfc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions