sendLog method
- LogLevel level,
- String message
Logs a message by sending a LogPayload to the parent isolate.
Note: it is important to not log this message directly in this isolate, as it will not be configurable by the parent isolate and will not be sent to the Dashboard.
Implementation
void sendLog(LogLevel level, String message) => sendToParent(LogPayload(level: level, message: message));