Append fwk debugging to serial

This commit is contained in:
Magnus Persson 2022-10-20 07:52:05 +02:00
parent d967d8efd9
commit 53c953de01

View File

@ -256,6 +256,7 @@ SerialDebug::SerialDebug(const uint32_t serialSpeed) {
#endif #endif
EspSerial.println("Serial connection established"); EspSerial.println("Serial connection established");
EspSerial.setDebugOutput(true);
getLog()->begin(LOG_LEVEL, &EspSerial, true); getLog()->begin(LOG_LEVEL, &EspSerial, true);
getLog()->setPrefix(printTimestamp); getLog()->setPrefix(printTimestamp);
getLog()->notice(F("SDBG: Serial logging started at %u." CR), serialSpeed); getLog()->notice(F("SDBG: Serial logging started at %u." CR), serialSpeed);