mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 11:14:28 +05:00
feat: added log level setting
This commit is contained in:
@@ -270,7 +270,7 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.system.debug) {
|
||||
if (settings.system.logLevel >= TinyLogger::Level::TRACE) {
|
||||
Log.strace(FPSTR(L_MQTT_MSG), F("Topic: %s\r\n> "), topic);
|
||||
if (Log.lock()) {
|
||||
for (size_t i = 0; i < length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user