0

Possible Duplicate:
difference between logger.info and logger.debug

When I should use Log.INFO and Log.DEBUG to print log statements in JAVA? Can I have some example for these Logs. I also need a clarification with the log, while displaying Balance whether I need to use Log.INFO or Log.DEBUG

Log.write("BALANCE"+bal, Log.INFO);
Community
  • 1
  • 1
  • I need clarification for the given log statement – user1665278 Sep 18 '12 at 09:09
  • That depends on what you want to achieve with the log statement. You can look at the question for which your question was marked as exact duplicate. There are good explanations there. – brimborium Sep 18 '12 at 09:13
  • 1
    And for next time: Just search for what you want to ask before asking it. Chances are that somebody already asked it. – brimborium Sep 18 '12 at 09:15

0 Answers0