Added log function
Now we could using "Logger logger = LogManager.getLogger(theClass.class.getName());" to get Logger and log message through 'logger.info("some message");'