mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-31 20:39:14 +03:00
11 lines
327 B
C++
11 lines
327 B
C++
#include "Utils\SerialPrint.h"
|
|
|
|
#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);
|
|
// wsPublishData(F("log"), tosend);
|
|
} |