@lombok.extern.apachecommons.CommonsLog class Test { public void logHallo() { log.info("Hello!"); } public static void main(String[] args) { Test test = new Test(); test.logHallo(); } }