aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@pelagicore.com>2019-03-18 15:45:23 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2019-03-18 15:15:58 +0000
commit9cd12edaef42aa4acab73cb61dda2273d7f22fe5 (patch)
tree888b3b9355b38fd2da03214b4714be899ba3b3c7
parentd5e89d630a6669cb1ff904b99644259d6fad1554 (diff)
Remove check for registered DLT application
This allows to register a logging category before an application, which is permitted by the DLT API. Change-Id: Idfc2b4450c1369bca8a80294eccc148586bb6dc0 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r--src/geniviextras/qdltregistration.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/geniviextras/qdltregistration.cpp b/src/geniviextras/qdltregistration.cpp
index 43e230f..a82e173 100644
--- a/src/geniviextras/qdltregistration.cpp
+++ b/src/geniviextras/qdltregistration.cpp
@@ -93,8 +93,6 @@ void QDltRegistrationPrivate::registerCategory(const QLoggingCategory *category,
void QDltRegistrationPrivate::registerCategory(CategoryInfo &info)
{
- Q_ASSERT_X(m_dltAppRegistered, "registerCategory", "A DLT Application needs to be registered before registering a Logging Category");
-
#if GENIVIEXTRAS_DEBUG
std::cout << "REGISTERING CONTEXT " << info.m_ctxName.constData() << std::endl;
#endif