Corrected log Macros.

If used like the code below, it would produce a compile error as
in the 'if' path there would be two semicolons:

if (anything)
   debug(...);
else
   doanything();