error<E> method

void error<E>(
  1. dynamic message, {
  2. String? tag,
  3. E? exception,
})

错误日志

Implementation

void error<E>(dynamic message, {String? tag, E? exception}) {
  _iLogger?.printLog(Level.error, message, tag: tag ?? "", stackTrace: StackTrace.current, exception: exception);
}