Java has the java.util.logging classes.
It probably has the most complex and messy logging story of any language - but at least the solutions are very mature at this point.
Though I myself prefer Log4J2, as I'm already using Log4J2 as the concrete logging implementation.
The API of Log4J2 and SLF4J v2 are similar enough that it does not matter for basic usage, I don't see the benefit of SLF4J in a project that's already using Log4J2.