mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
9 lines
289 B
C++
9 lines
289 B
C++
|
|
|
||
|
|
#include "Utils\SerialPrint.h"
|
||
|
|
|
||
|
|
void SerialPrint(String errorLevel, String module, String msg) {
|
||
|
|
Serial.println(prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg);
|
||
|
|
String tosend = "[" + errorLevel + "] [" + module + "] " + msg;
|
||
|
|
|
||
|
|
// ws.textAll(tosend);
|
||
|
|
}
|