e static method

void e({
  1. Object? msg,
  2. String? tag,
  3. Object? error,
  4. StackTrace? stackTrace,
  5. int level = 1,
})

Implementation

static void e({
  Object? msg,
  String? tag,
  Object? error,
  StackTrace? stackTrace,
  int level = 1,
}) {
  final track = tag ?? _trackStackTraceId(StackTrace.current, level);
  _log(
    msg: msg,
    track: track,
    error: error,
    stackTrace: stackTrace,
    level: ' E ',
    levelColor: _red,
  );
}