Thank you for the response, Chia-Ping Tsai.

The sl4j and System.Logger APIs are very similar and lightweight. Is
there any particular API or functionality missing from System.Logger?

Yes, all logging libraries/providers support System.Logger.

Libraries like log4j2, which is what Kafka defaults to, support
System.Logger (also called jpl or Java Platform Logging) directly, so
you do not need SLF4J at all, and can remove a third party dependency
from the project.

Libraries like logback do not support System.Logger directly, but you
can use the bridge org.slf4j:slf4j-jdk-platform-logging to route log
messages from System.Logger to SLF4J.

Reply via email to