error static method

void error(
  1. Object msg
)

Implementation

static void error(Object msg) {
  if (TgoRTC.instance.options.debug) {
    final text = '[ERROR] $msg';
    developer.log(text, name: 'ERROR');
    print(text);
  }
}