sendLog method
- BurtLog log
inherited
Sends a log message or saves it until a Dashboard is connected.
Use this for logs that need to make it to the Dashboard, such as errors or warnings.
Implementation
void sendLog(BurtLog log) {
if (isConnected) {
sendMessage(log);
} else {
_logBuffer.add(log);
}
}