I am making a Java application that will use the swing user interface. He will ask the user to specify some settings by filling out the forms, and then process them and generate some files in the ./output/ directory.
During the development process, I would like to display some technical information in the console using the System.out.println() method.
Do I need to delete all of these console outputs when I finish development?
If so, what is the best way to display debugging information during development so that it can be easily deleted before production?
Maybe I need to use only JUnit tags for debugging purposes? I just started with this, so I have a vague idea of ββits capabilities.
Edward ruchevits
source share