Debug / NoDebug - Switch in source-code
Hi, I'm coming from C++ and learning Java.
I'm writing a quite big program and I want to know if there is a solution like the c++ precompiler...
I want to enable/disable debug-output without changing thousands of "/*" and "*/" ...
Can anybody please help?
For enabling/disabling debug outputs there is a different mechanism. We need to use others tools like log4j for debugging purpose. I guess therez no other way .
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center