New log macros and tests working with g++