Commit 63acd809 authored by Don Gagne's avatar Don Gagne

Move verbose logging to separate category

parent 1abafb59
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <string.h> #include <string.h>
QGC_LOGGING_CATEGORY(MockLinkLog, "MockLinkLog") QGC_LOGGING_CATEGORY(MockLinkLog, "MockLinkLog")
QGC_LOGGING_CATEGORY(MockLinkLogVerbose, "MockLinkLogVerbose")
/// @file /// @file
/// @brief Mock implementation of a Link. /// @brief Mock implementation of a Link.
...@@ -214,7 +215,7 @@ void MockLink::_loadParams(void) ...@@ -214,7 +215,7 @@ void MockLink::_loadParams(void)
break; break;
} }
qCDebug(MockLinkLog) << "Loading param" << paramName << paramValue; qCDebug(MockLinkLogVerbose) << "Loading param" << paramName << paramValue;
_mapParamName2Value[componentId][paramName] = paramValue; _mapParamName2Value[componentId][paramName] = paramValue;
_mapParamName2MavParamType[paramName] = static_cast<MAV_PARAM_TYPE>(paramType); _mapParamName2MavParamType[paramName] = static_cast<MAV_PARAM_TYPE>(paramType);
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "QGCMAVLink.h" #include "QGCMAVLink.h"
Q_DECLARE_LOGGING_CATEGORY(MockLinkLog) Q_DECLARE_LOGGING_CATEGORY(MockLinkLog)
Q_DECLARE_LOGGING_CATEGORY(MockLinkLogVerbose)
/// @file /// @file
/// @brief Mock implementation of a Link. /// @brief Mock implementation of a Link.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment