The LOG() macro allows conditional logging without stream evaluation, while log() evaluates the stream regardless of the global log level. The task here is to remove all uses of log(int level) with a level >= 1, and replace them with LOG().
Note that log() messages are ok if they're information and not in a fast path (with some discretion). In the end, we should have the following log functions:
We will get rid of:
As this is a large change, we should focus on one component at a time and submit individual code reviews. A breakdown of the components for this task is forthcoming.