qmljs: put file specific logs in anonymous namespace

putting file specific log categories in anonymous namespace
avoid the possibility of nameclashes.

Change-Id: I17a07015ffe1c539824fcfcbc2296335d9225dd1
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-07-07 13:24:51 +02:00
parent 0664aa146b
commit 7f91cf58b9
4 changed files with 16 additions and 7 deletions

View File

@@ -39,8 +39,11 @@
#include <QFile>
namespace QmlJS{
namespace {
Q_LOGGING_CATEGORY(simpleReaderLog, "qtc.qmljs.simpleReader")
}
namespace QmlJS{
QVariant SimpleReaderNode::property(const QString &name) const
{