View Single Post
  #1 (permalink)  
Old 03-20-2008, 11:06 PM
sunjavaboy sunjavaboy is offline
Member
 
Join Date: Mar 2008
Posts: 9
sunjavaboy is on a distinguished road
System.out.println
Hello,

The java application I work on has thousands of System.out.println statements. Now I have to make all these S.o.p's execute only if a condition is true and restrict executing them if the condition is false.

I cannot put the check at all the places where S.o.p statement is written in the code. Can somebody suggest a way out where I can have one common method which I can replace it with all the S.o.p's in the application?

Any help would be appreciated.
Reply With Quote
Sponsored Links