Files
IoTManager/src/Utils/SerialPrint.cpp
Dmitry Borisenko d6f5506812 last version
2020-09-17 18:32:39 +03:00

9 lines
251 B
C++

#include "Utils\SerialPrint.h"
#include "Global.h"
void SerialPrint(String errorLevel, String module, String msg) {
if (module == "Stat") {
Serial.println(prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg);
}
}