mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-28 21:30:44 +03:00
Enhance UI (#1243)
* Temporarily disable data file writing as it can cause crashs, see https://github.com/jomjol/AI-on-the-edge-device/issues/1225 * removed edit function in graph as we don't need that in a release * . * improve log viewer * replaced logfile enable/disable with enum to select log level. At least errors always will be logged (as before) * . * . * colorize log * scroll down * improve log reload
This commit is contained in:
@@ -10,7 +10,6 @@ private:
|
||||
std::string logfile;
|
||||
std::string dataroot;
|
||||
std::string datafile;
|
||||
bool doLogFile;
|
||||
unsigned short retentionInDays;
|
||||
esp_log_level_t loglevel;
|
||||
public:
|
||||
@@ -18,11 +17,9 @@ public:
|
||||
|
||||
std::string getESPHeapInfo();
|
||||
|
||||
void setLogLevel(esp_log_level_t i){loglevel = i;};
|
||||
|
||||
void WriteHeapInfo(std::string _id);
|
||||
|
||||
void SwitchOnOff(bool _doLogFile);
|
||||
void setLogLevel(esp_log_level_t _logLevel);
|
||||
void SetRetention(unsigned short _retentionInDays);
|
||||
|
||||
void WriteToFile(esp_log_level_t level, std::string info, bool _time = true);
|
||||
|
||||
Reference in New Issue
Block a user