Enable logging for signal strength by default

Since the new log engine this isn't that heavy on the resources any more
pull/658/head
Michael Zanetti 2023-12-24 12:54:05 +01:00
parent a3be47b815
commit 46e6232021
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,8 @@
"unit": "Percentage", "unit": "Percentage",
"minValue": 0, "minValue": 0,
"maxValue": 100, "maxValue": 100,
"optional": true "optional": true,
"logged": true
} }
] ]
} }

View File

@ -180,7 +180,7 @@ void TestLogging::stateChangeLogs_data()
QTest::addColumn<bool>("expectLogEntry"); QTest::addColumn<bool>("expectLogEntry");
QTest::newRow("logged state") << mockConnectedStateTypeId << "connected" << QVariant(false) << QVariant(true) << true; QTest::newRow("logged state") << mockConnectedStateTypeId << "connected" << QVariant(false) << QVariant(true) << true;
QTest::newRow("not logged state") << mockSignalStrengthStateTypeId << "signalStrength" << QVariant(10) << QVariant(20) << false; QTest::newRow("not logged state") << mockDoubleStateTypeId << "double" << QVariant(10) << QVariant(20) << false;
} }
void TestLogging::stateChangeLogs() void TestLogging::stateChangeLogs()