logError method

void logError(
  1. String message
)

Implementation

void logError(String message) {
  _addLog(LogItem(
    content: message,
    type: LogItemType.error,
    time: DateTime.now(),
  ));
}