[slf4j-dev] [Bug 236] New: Use standard java.util.ServiceLoader for SLF4J Binding
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Mon Aug 29 00:09:56 CEST 2011
http://bugzilla.slf4j.org/show_bug.cgi?id=236
Summary: Use standard java.util.ServiceLoader for SLF4J Binding
Product: SLF4J
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P1
Component: Core API
AssignedTo: slf4j-dev at qos.ch
ReportedBy: cronier.jy at gmail.com
What about use ServiceLoader to find which binding to use?
For JDK<1.6 compatibility, we can test Class.forName("java.util.ServiceLoader")
and switch to an internal equivalent implementation of ServiceLoader.
No need to have one (or multiple) StaticLoggerBinder.
This ServiceLoader is used, for example, for JRE XSL implementation, or
java.sql.Driver.
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list