sendLog method

void sendLog(
  1. 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) => isConnected
  ? sendMessage(log) : _logBuffer.add(log);