mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
изменение алгоритма логгирования
This commit is contained in:
@@ -6,6 +6,7 @@ void SerialPrint(String errorLevel, String module, String msg) {
|
||||
|
||||
tosend = prettyMillis(millis());
|
||||
|
||||
// if (module == "Loging") {
|
||||
tosend = tosend + " [" + errorLevel + "] [" + module + "] " + msg;
|
||||
Serial.println(tosend);
|
||||
|
||||
@@ -14,4 +15,5 @@ void SerialPrint(String errorLevel, String module, String msg) {
|
||||
standWebSocket.broadcastTXT("/log|" + tosend);
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
Reference in New Issue
Block a user