π Learning and experimenting with logging libraries in the Java ecosystem.
NOTE: This project was developed on macOS. It is designed for my own personal use.
This repository illustrates different concepts, patterns and examples via standalone subprojects. Each sub-project is completely independent of the others and do not depend on the root project. This standalone sub-project constraint forces the subprojects to be complete and maximizes the reader's chances of successfully running, understanding, and re-using the code.
The subprojects include:
A simple logging setup using SLF4J's slf4j-simple
logging implementation.
See the README in slf4j-simple/.
Using Logback Filters to conditionally log some things and not others. Useful, for example, to sample some logs that would otherwise be too numerous if enabled 100%.
See the README in logback-filters/.
Showcasing Java's core logging facilities: java.util.logging
(JUL) and java.lang.System.Logger
.
See the README in java-core-logging/.
Bridge java.util.logging
(JUL) logging statements to SLF4J.
See the README in jul-slf4j-bridge/.