always log from LOG_EVERY_MS if interval is <= 0
Summary: This diff changes LOG_EVERY_MS so that if the specified interval is zero or negative, no clock call is made and LOG(severity) is always called. milli_interval is copied into a temporary to avoid double-evaluation. Test Plan: 1. unit tests 2. new unit test Reviewed By: lesha@fb.com FB internal diff: D1469366 Tasks: 4813858
Showing
Please register or sign in to comment