A logging macro that only logs in DEBUG environment