mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-04-01 04:49:13 +03:00
first
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
|
||||
#include "Global.h"
|
||||
#include "WebServer.h"
|
||||
#include "WebSocket.h"
|
||||
|
||||
void SerialPrint(String errorLevel, String module, String msg) {
|
||||
String tosend = prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg;
|
||||
|
||||
Serial.println(tosend);
|
||||
// mqttRootDevice +
|
||||
ws.textAll("/core/" + tosend);
|
||||
// wsPublishData(F("log"), tosend);
|
||||
}
|
||||
Reference in New Issue
Block a user