At one point, I ran across some Android documentation that recommended writing debug code like this:
if (someSymbol) then { .. debug code like log }
where someSymbol was automatically set by the compiler to either true (for debug) or false (for release). Then the debug code is optimized out in the release version.
But I didn't write it down, and now I can't find it.
What is that symbol?