What are markers in Java Logging frameworks and what is a reason to use them?
This is a rehashed version my answer to the question “Best practices for using Markers in SLF4J/Logback”. Markers can be used to color or mark a single log statement. What you do with these colors, i.e. markers, is entirely up to you. However, two patterns seem to be common for marker usage. Triggering: Some appender … Read more