Java, Logging, Software Development, Programming.
this: dependencies { implementation 'org.apache.logging.log4j:log4j-core:2.23.1' // Or the latest version } As with Maven, make sure to specify the version number you want to use, or use latest.release to always use the latest available version. After adding the dependency and saving the build