изменение алгоритма логгирования

This commit is contained in:
Dmitry Borisenko
2022-08-27 00:57:19 +02:00
parent e3fc7a7416
commit 162f4de45e
6 changed files with 111 additions and 90 deletions

View File

@@ -135,7 +135,8 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
}
//команда очистки всех логов esp//
if (headerStr == "/clean|") {
cleanDirectory("logs");
cleanDirectory("lg");
cleanDirectory("db");
}
//Прием сообщений cotrol ==============================================================================