Files
IoTManager/src/Utils/SerialPrint.cpp

9 lines
251 B
C++
Raw Normal View History

2020-09-17 17:27:44 +03:00
#include "Utils\SerialPrint.h"
#include "Global.h"
void SerialPrint(String errorLevel, String module, String msg) {
2020-09-17 18:32:39 +03:00
if (module == "Stat") {
2020-09-17 18:04:06 +03:00
Serial.println(prettyMillis(millis()) + " [" + errorLevel + "] [" + module + "] " + msg);
2020-09-17 18:32:39 +03:00
}
2020-09-17 17:27:44 +03:00
}