Open Aleksy-niamik opened 3 years ago
In SD card logging (or not only there) add current time to the saved message/value. Get this time from ITasker instance using getCurrentTime_micros() method.
In SD card as a log storing medium write(...) mehod can only add data to some buffer or queue and save bigger pack of data at once when queue is full.
Medium class could also be used to other things like storing configuration parameters so it should be divided into at least WriteMedium and ReadWriteMedium. (Related to #29 issue). This should be thought through deeper.
[x] LogType flags enum
[x] IMedium interface
[x] abstract class LoggerBase with variadic functions
[ ] Logger class with methods without LogType param