Updated for JVM 1.6 as per discussion on StackOverflow

http://stackoverflow.com/questions/115008/how-can-we-print-line-numbers-
to-the-log-in-java