In C ++, I use a lot of log4cxx . I do not understand why this is a problem for compilation, it works like a champion. This brings many benefits. To name just a few, you can redirect your log statements to the syslog or windows event log without touching the code base — just change the configuration.
Dima source share