@@ -269,22 +269,37 @@ <h3 class="doAnchor" name="swapping">Binding with a logging
269269
270270 < dt > < em > slf4j-log4j12-${latest.stable.version}.jar</ em >
271271 </ dt >
272- < dd > Binding for < a
272+ < dd > Binding/provider for < a
273273 href ="http://logging.apache.org/log4j/1.2/index.html "> log4j
274274 version 1.2</ a > , a widely used logging framework. You also
275- need to place < em > log4j.jar</ em > on your class path.< p /> </ dd >
275+ need to place < em > log4j.jar</ em > on your class path. < span
276+ class ="red "> Given that the log4j 1.x has reached EOL
277+ status, we strongly encourage you to use
278+ < em > slf4j-reload4j</ em > instead.</ span >
279+ < p />
276280
281+ </ dd >
282+
283+ < dt > < em > slf4j-reload4j-${latest.stable.version}.jar</ em >
284+ </ dt >
285+ < dd > < span class ="label notice "> since 1.7.33</ span > Binding/provider for
286+ < a href ="http://reload4j.qos.ch "> reload4j</ a >
287+ framework. Reload4j is a drop-in replacement for log4j version
288+ 1.2.7. You also need to place < em > reload4j.jar</ em > on your
289+ class path.< p /> </ dd >
290+
291+
277292 < dt > < em > slf4j-jdk14-${latest.stable.version}.jar</ em > </ dt >
278- < dd > Binding for java.util.logging, also referred to as JDK 1.4
293+ < dd > Binding/provider for java.util.logging, also referred to as JDK 1.4
279294 logging < p /> </ dd >
280295
281296 < dt > < em > slf4j-nop-${latest.stable.version}.jar</ em > </ dt >
282- < dd > Binding for < a
297+ < dd > Binding/provider for < a
283298 href ="http://www.slf4j.org/api/org/slf4j/helpers/NOPLogger.html "> NOP</ a > ,
284299 silently discarding all logging.< p /> </ dd >
285300
286301 < dt > < em > slf4j-simple-${latest.stable.version}.jar</ em > </ dt >
287- < dd > Binding for < a
302+ < dd > Binding/provider for < a
288303 href ="http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html "> Simple
289304 </ a > implementation, which outputs all events to
290305 System.err. Only messages of level INFO and higher are
@@ -293,7 +308,7 @@ <h3 class="doAnchor" name="swapping">Binding with a logging
293308
294309 < dt > < em > slf4j-jcl-${latest.stable.version}.jar</ em > </ dt >
295310
296- < dd > Binding for < a
311+ < dd > Binding/provider for < a
297312 href ="http://commons.apache.org/logging/ "> Jakarta Commons
298313 Logging</ a > . This binding will delegate all SLF4J logging to
299314 JCL.< p />
@@ -302,7 +317,7 @@ <h3 class="doAnchor" name="swapping">Binding with a logging
302317 < dt > < em > logback-classic-${logback.version}.jar (requires logback-core-${logback.version}.jar)</ em > </ dt >
303318
304319 < dd > < span class ="label notice "> Native implementation</ span > There are also
305- SLF4J bindings external to the SLF4J project, e.g. < a
320+ SLF4J bindings/providers external to the SLF4J project, e.g. < a
306321 href ="http://logback.qos.ch/ "> logback</ a > which implements
307322 SLF4J natively. Logback's
308323 < a href ="http://logback.qos.ch/apidocs/ch/qos/logback/classic/Logger.html ">
@@ -334,8 +349,20 @@ <h3 class="doAnchor" name="swapping">Binding with a logging
334349 to < em > slf4j-api-${latest.stable.version}.jar</ em > , you simply drop
335350 < b > one and only one</ b > binding of your choice onto the
336351 appropriate class path location. Do not place more than one
337- binding on your class path. Here is a graphical illustration of
338- the general idea.
352+ binding on your class path.</ p >
353+
354+
355+ < p > < span class ="label "> since 2.0.0</ span > As of version 2.0.0,
356+ SLF4J bindings are called providers. Nevertheless, the general
357+ idea remains the same. SLF4J API version 2.0.0 relies on the < a
358+ href ="https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html "> ServiceLoader</ a >
359+ mechanism to find its logging backend. See the relevant < a
360+ href ="faq.html#changesInVersion200 "> FAQ entry</ a > for more
361+ details.
362+ </ p >
363+
364+
365+ < p > Here is a graphical illustration of the general idea.
339366 </ p >
340367
341368 < p > < a href ="images/concrete-bindings.png ">
0 commit comments