logLocalEventEntries static method
void
logLocalEventEntries(})
Logs event to EventChannel, but uses List.join with separator
to join prefix
and description
.
This is used to send events to the EventChannel for integration into existing communication flow.
The event will be sent as a String with the following format:
- (if prefix is not empty): "prefix|description", where '|' is separator
- (if prefix is empty): "description"
Implementation
static void logLocalEventEntries(List<String> entries, {String prefix = "LOG", String separator = "|"}) {
logLocalEvent(entries.join(separator), prefix: prefix, separator: separator);
}