I know about and have used the macros DEBUGMSG
, RETAILMSG
, ERRORMSG
, that all take a condition parameter. For general formatted debug output, though, I want to use ::NKDbgPrintfW
directly and wonder if someone knows if it compiles to a nop in optimised release builds or if my own macro wrapper around it with #ifdef DEBUG
is still needed?