Fixing confusions between pragmas and ifdefs in Logger header.