fixed logger macro for Windows