shouldProcessError method

bool shouldProcessError(
  1. ISpectLogData value
)

Returns true when the error should be logged.

Implementation

bool shouldProcessError(ISpectLogData value) {
  if (errorChain != null) return errorChain!.apply(value);
  return errorFilter?.call(value) ?? true;
}