mirror of https://github.com/nymea/nymea.git
Enable logging for signal strength by default
Since the new log engine this isn't that heavy on the resources any morepull/658/head
parent
a3be47b815
commit
46e6232021
|
|
@ -8,7 +8,8 @@
|
||||||
"unit": "Percentage",
|
"unit": "Percentage",
|
||||||
"minValue": 0,
|
"minValue": 0,
|
||||||
"maxValue": 100,
|
"maxValue": 100,
|
||||||
"optional": true
|
"optional": true,
|
||||||
|
"logged": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue