cout/cerr should never be used
except early in process startup before the log() system is initialized
For such cases, it would be good to use cerr, but right now there is a mix of cout and cerr
Include log_internal.h to use the LOG() helper macro
Debugging with levels of verbosity. See the -v command line option (default level is 0). If the global log level is less than x, no functions in the steam are executed.
LOG( int x ) << ...
Informational
log() << ...
Rate limited
LOGSOME() << ...
Warnings
warning() << ...
Errors
error() << ...