When to use log4j over system out
Why is it a good practise to use logger.debug() instead of
system.out.println()? I understand that log4j allows you to control what
you wish to print, (DEBUG,FATAL,INFO etc) but apart from that, is there
any other benefit?
No comments:
Post a Comment