[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-ruby] /: Streamline logging categories
From:       Kevin Funk <kfunk () kde ! org>
Date:       2016-11-30 20:19:12
Message-ID: E1cCBLU-0001UG-JQ () code ! kde ! org
[Download RAW message or body]

Git commit ced3ce39da6deef15a00774e58deb3acf588c2fd by Kevin Funk.
Committed on 30/11/2016 at 20:18.
Pushed by kfunk into branch 'master'.

Streamline logging categories

M  +1    -1    completion/context.cpp
M  +1    -1    duchain/builders/contextbuilder.cpp
M  +1    -1    duchain/tests/duchain.cpp
M  +1    -1    languagesupport.cpp
M  +1    -1    parser/astvisitor.cpp

https://commits.kde.org/kdev-ruby/ced3ce39da6deef15a00774e58deb3acf588c2fd

diff --git a/completion/context.cpp b/completion/context.cpp
index 7241897..7287036 100644
--- a/completion/context.cpp
+++ b/completion/context.cpp
@@ -34,7 +34,7 @@
 #include <completion/items/normalitem.h>
 #include <completion/items/requirefileitem.h>
 
-Q_LOGGING_CATEGORY(COMPLETION, "kdev.ruby.completion")
+Q_LOGGING_CATEGORY(COMPLETION, "kdevelop.languages.ruby.completion")
 
 #define ADD_KEYWORD(name) list << CompletionTreeItemPointer(new \
KeywordItem(KDevelop::CodeCompletionContext::Ptr(this), name))  #define \
ADD_KEYWORD2(name, desc) list << CompletionTreeItemPointer(new \
                KeywordItem(KDevelop::CodeCompletionContext::Ptr(this), name, desc))
diff --git a/duchain/builders/contextbuilder.cpp \
b/duchain/builders/contextbuilder.cpp index fbf6610..31de9f7 100644
--- a/duchain/builders/contextbuilder.cpp
+++ b/duchain/builders/contextbuilder.cpp
@@ -32,7 +32,7 @@
 #include <duchain/loader.h>
 #include <duchain/rubyducontext.h>
 
-Q_LOGGING_CATEGORY(DUCHAIN, "kdev.ruby.duchain")
+Q_LOGGING_CATEGORY(DUCHAIN, "kdevelop.languages.ruby.duchain")
 
 using namespace KDevelop;
 using namespace ruby;
diff --git a/duchain/tests/duchain.cpp b/duchain/tests/duchain.cpp
index 6bdb516..b0f8544 100644
--- a/duchain/tests/duchain.cpp
+++ b/duchain/tests/duchain.cpp
@@ -38,7 +38,7 @@
 #include <duchain/declarations/variabledeclaration.h>
 
 
-Q_LOGGING_CATEGORY(DUCHAIN_TESTS, "kdev.ruby.duchain.tests")
+Q_LOGGING_CATEGORY(DUCHAIN_TESTS, "kdevelop.languages.ruby.duchain.tests")
 
 QTEST_MAIN(ruby::TestDUChain)
 
diff --git a/languagesupport.cpp b/languagesupport.cpp
index 110a19e..967f8f6 100644
--- a/languagesupport.cpp
+++ b/languagesupport.cpp
@@ -56,7 +56,7 @@ LanguageSupport::LanguageSupport(QObject *parent, const \
QVariantList &)  KDEV_USE_EXTENSION_INTERFACE(ILanguageSupport)
 
     // TODO: this should be removed once KDE knows how to handle categories.
-    QLoggingCategory::setFilterRules(QStringLiteral("kdev.ruby.debug = true"));
+    QLoggingCategory::setFilterRules(QStringLiteral("kdevelop.languages.ruby.debug = \
true"));  
     m_rails = new rails::Support(this);
     m_launcher = new Launcher(this);
diff --git a/parser/astvisitor.cpp b/parser/astvisitor.cpp
index be052f5..f9cf4d8 100644
--- a/parser/astvisitor.cpp
+++ b/parser/astvisitor.cpp
@@ -19,7 +19,7 @@
 #include <parser/astvisitor.h>
 #include <parser/debug.h>
 
-Q_LOGGING_CATEGORY(PARSER, "kdev.ruby.parser");
+Q_LOGGING_CATEGORY(PARSER, "kdevelop.languages.ruby.parser");
 
 /*
  * Note that each visitor method has a comment that explains how the AST


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic