You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could like to completely disable the auditing in ff4j in certain scenarios. Unfortunately EventPublisher is not an interface, so I cannot implement a NoOpEventPublish, but with the new setter for EventPublisher, I could set the EventPublisher to something like:
new EventPublisher() {
@Override
public void publish(final Event e) {
// do nothing
}
};
It would be nice if org.ff4j.FF4j had a setAuditEnabled(boolean) or something similiar which would cause it to not call getEventPublisher().publish(..) in the first place.
What do you think?
The text was updated successfully, but these errors were encountered:
I could like to completely disable the auditing in ff4j in certain scenarios. Unfortunately EventPublisher is not an interface, so I cannot implement a NoOpEventPublish, but with the new setter for EventPublisher, I could set the EventPublisher to something like:
It would be nice if org.ff4j.FF4j had a setAuditEnabled(boolean) or something similiar which would cause it to not call getEventPublisher().publish(..) in the first place.
What do you think?
The text was updated successfully, but these errors were encountered: