Logger utility for java.