Monolog handler for limiting logging of similar records