Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-227

Use standard java.util.ServiceLoader for SLF4J Binding

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • None
    • None
    • Core API
    • None
    • Operating System: All
      Platform: All

    Description

      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.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            cronier.jy@gmail.com JY Cronier
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: