logging method
Turn on logging, true to start, false to stop
Implementation
void logging({required bool on}) {
MqttLogger.loggingOn = false;
if (on) {
MqttLogger.loggingOn = true;
}
}
Turn on logging, true to start, false to stop
void logging({required bool on}) {
MqttLogger.loggingOn = false;
if (on) {
MqttLogger.loggingOn = true;
}
}