logData method
- Message message
Outputs log data to the correct file based on message
Implementation
Future<void> logData(Message message) async {
batchedLogs[message.messageName] ??= [];
batchedLogs[message.messageName]!.add(message.wrap());
}
Outputs log data to the correct file based on message
Future<void> logData(Message message) async {
batchedLogs[message.messageName] ??= [];
batchedLogs[message.messageName]!.add(message.wrap());
}