error static method

void error(
  1. Object message, {
  2. String title = '',
  3. bool hasPrintLog = true,
  4. dynamic hasWriteLog = true,
})

错误信息

message 内容 title 标题 hasPrintLog 是否打印日志 hasWriteLog 是否写入日志

Implementation

static void error(Object message, {String title = '', bool hasPrintLog = true, hasWriteLog = true}) {
  _Logger.error(message, title: title, hasPrintLog: hasPrintLog, hasWriteLog: hasWriteLog);
}