diff options
author | Kai Koehne <kai.koehne@digia.com> | 2014-04-23 10:32:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-29 16:26:25 +0200 |
commit | ee85cdee67d164315e52a05462b03fe7091cc26d (patch) | |
tree | 0aed51072ce1685734764c2937bd7b7eaf86b67b /mkspecs/macx-ios-clang | |
parent | 27ea8fa99f84d96618d75a8245364457585bc5e2 (diff) |
Logging: Mention 'best practices' for using QLoggingCategory
QLoggingCategory objects are meant to be mere 'handles' for the
registry. It's therefore not recommended to
- manipulate them directly (via setEnabled()), except in a filter
- export them across module boundaries
- subclass them
Subclassing QLoggingCategory also breaks compilations in a certain
circumstances (no variadic macros).
Task-number: QTBUG-37283
Change-Id: Ib12fb43d955902c7fa4583296d64afc5eca01200
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/macx-ios-clang')
0 files changed, 0 insertions, 0 deletions