added log level to logfile, adjusted some loglevels

This commit is contained in:
George Ruinelli
2022-10-22 18:05:08 +02:00
parent 0a2b6b71ca
commit 1e698440f9
22 changed files with 138 additions and 114 deletions

View File

@@ -86,7 +86,7 @@ void setTimeZone(std::string _tzstring)
setenv("TZ", _tzstring.c_str(), 1);
tzset();
_tzstring = "Time zone set to " + _tzstring;
LogFile.WriteToFile(_tzstring);
LogFile.WriteToFile(ESP_LOG_INFO, _tzstring);
}
static void obtain_time(void)