batchedLogs property

Map<String, List<WrappedMessage>> batchedLogs
getter/setter pair

Holds data to be logged by logData when dataLogger fires.

This is used by logData instead of writing the data immediately because data can come in at an unpredictable and burdensome rate, which would make the dashboard write a lot of data at once to the same file(s) and overload the user's device.

Implementation

Map<String, List<WrappedMessage>> batchedLogs = {};