[java] How can we print line numbers to the log in java