handleAsRegularLog method

List<String> handleAsRegularLog(
  1. LogEvent event,
  2. StackTrace stackTrace
)

Implementation

List<String> handleAsRegularLog(LogEvent event, StackTrace stackTrace) {
  var originalErrorMethodCount = _errorMethodCount;
  _errorMethodCount = methodCount;
  var output = super.log(
    LogEvent(
      event.level,
      event.message,
      event.error,
      removeFlrxFromStackTrace(stackTrace),
    ),
  );
  _errorMethodCount = originalErrorMethodCount;

  return output;
}