feature: added possibility to set conditionnal logging thresholds for mem_after and mem_delta