Log4J the groovy way...

32 views
Skip to first unread message

Rajmahendra

unread,
Mar 6, 2008, 12:53:39 AM3/6/08
to ig...@googlegroups.com

While developing around now or then one wants something printed out at the console of his/her IDE. Well, with Groovy, it's easy: println "Hello World!". But when it comes to some serious development and logging you must meet some requirements:

  • keep log statements in code for faster switching them on/off
  • timestamps for profiling
  • log log... who's logging?
  • a log file for tracing down errors
  • well, and so on...

http://groovy.dzone.com/tips/log4j-groovy-way

Reply all
Reply to author
Forward
0 new messages