Add conditional evaluation to CRSBLOG
LOG doesn't even evaluate the streamed arguments if the conditions for logging aren't met (verbosity, debug, etc.) Now CRSBLOG does the same, so that CRSBLOG << Function() is a noop if there are no listening chrome://safe-browsing tabs. Bug: 874693 Change-Id: I6e1316b280b87264e65cb789151cff8596eb380a Reviewed-on: https://chromium-review.googlesource.com/1187008 Commit-Queue: Daniel Rubery <drubery@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#586346}
Showing
Please register or sign in to comment