262 Logging added, working version

This commit is contained in:
Dmitry Borisenko
2020-11-01 04:48:35 +03:00
parent 1126575822
commit d96aea8eef
12 changed files with 105 additions and 215 deletions

View File

@@ -20,10 +20,10 @@ void removeFile(const String& filename) {
String path = filepath(filename);
if (LittleFS.exists(path)) {
if (!LittleFS.remove(path)) {
SerialPrint("[E]","Files","remove " + path);
SerialPrint("I","Files","remove " + path);
}
} else {
SerialPrint("I","Files","not exist" + path);
SerialPrint("E","Files","not exist" + path);
}
}