SLF4J
A logging facade — code against SLF4J, choose the backend (Logback, Log4j 2) at deploy time.
Easy
private static final Logger log = LoggerFactory.getLogger(App.class); log.info("Started on port {}", port);
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.