Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
1.7.22
-
None
Description
This may be a stupid question, but the Logger javadocs merely say that
debug(Marker marker, String msg)
Log a message with the specific Marker at the DEBUG level.
error(Marker marker, String msg)
Log a message with the specific Marker at the ERROR level.
info(Marker marker, String msg)
Log a message with the specific Marker at the INFO level.
trace(Marker marker, String msg)
Log a message with the specific Marker at the TRACE level.
warn(Marker marker, String msg)
Log a message with the specific Marker at the WARN level.
with no guidance on the relative ordering of DEBUG, ERROR, INFO, TRACE, WARN. I presume that SLF4J merely passes these along to a supported framework, which must include at least these levels, and it is up to the framework to dictate the relative ordering? Or do you assume that all frameworks treat ERROR > WARN > INFO > DEBUG > TRACE ?
Either way, it would be helpful to include at least one sentence stating this, or referring to the FAQ where the issue can be mentioned in detail, similar to https://www.slf4j.org/faq.html#trace