Use logging method that’s present in Java 1.7