warning method

void warning(
  1. String title, {
  2. String? body,
})

Logs a warning.

Use this to indicate something has gone wrong but can be recovered.

Implementation

void warning(String title, {String? body}) {
  logger.w(getMessage(title, body));
  final log = BurtLog(level: BurtLogLevel.warning, title: title, body: body, device: device);
  socket?.sendLog(log);
}