fixed macros for new logger