This commit is contained in:
Dmitry Borisenko
2021-12-06 01:27:33 +01:00
parent f8307dcb5e
commit 1af7687064
5 changed files with 12 additions and 16 deletions

View File

@@ -4,9 +4,8 @@
#include "HttpServer.h"
void SerialPrint(String errorLevel, String module, String msg) {
Serial.println(prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg);
String tosend = "[" + errorLevel + "] [" + module + "] " + msg;
String tosend = prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg;
Serial.println(tosend);
ws.textAll(tosend);
}