Logger: info(String msg)
import java.util.logging.Logger; public class Main { private static Logger logger = Logger.getLogger("InfoLogging"); public static void main(String[] args) { logger.info("Logging an INFO-level message"); } }