shouldProcessError method
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;
}
Returns true when the error should be logged.
bool shouldProcessError(ISpectLogData value) {
if (errorChain != null) return errorChain!.apply(value);
return errorFilter?.call(value) ?? true;
}