How to use System.out.println
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   yogi_naidu
Posted On:   Monday, April 11, 2005 10:58 PM

			
Hi i am new bie to Junit, i am using httpunit frame work along with junit....
i have given some system.out.println statement....no syntax error, but its not printing anything, though there is value, can u how to print some statements on console.

basically i am test engineer....and i dont have much knowledge on Java...so pls do help...
Advance thankx

Yogi

Re: How to use System.out.println

Posted By:   Stephen_McConnell  
Posted On:   Tuesday, April 12, 2005 06:10 AM

System.out.println usually prints to the default output which is the Console.


Using a lib like Log4J is better than using System.out.println for debugging. Log4J allows you to direct your output to wherever you want. It's become a sort of defacto standard for logging output.... Check it out... It's pretty well documented.


Stephen McConnell

About | Sitemap | Contact