Files
IoTManager/src/utils/SerialPrint.cpp

9 lines
289 B
C++
Raw Normal View History

#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);
}