My idea is to have a similar mechanism that is done with Exception Handlers to REST APIs errors, this is, the ability to choose if we want to log the error or not.
For example, in the OnAfterResponse of a REST API I would like to don't log the exception that occurs when condition 2 is true.
This exception is logged with the module REST (Consume).