Small logging library for C++, log4j configuration, optional macros