error method

  1. @override
void error(
  1. Object? msg, {
  2. String? className,
})
override

Implementation

@override
void error(Object? msg, {String? className}) {
  //assert(() {
    var flag = Log.level & Log.ERROR_FLAG;
    if (flag > 0) {
      output(_message(msg),
        className: className,
        tag: Logger.ERROR_TAG,
        color: Logger.fatalColor,
      );
    }
  //  return true;
  //}());
}