[logback-dev] what replaced StaticLoggerBinder to invoke ContextSelectorStaticBinder.init()?

logback developers list logback-dev at qos.ch
Fri Jun 9 19:07:23 CEST 2023


Hello Richard,

StaticLoggerBinder has been replaced by
org.slf4j.spi.SLF4JServiceProvider of which LogbackServiceProvider is an
implementation.

SLF4JServiceProvider interface has a method called initialize().

Is this what you were asking?

-- 
Ceki Gülcü

Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch

On 6/9/2023 7:01 PM, logback developers list via logback-dev wrote:
> Before 1.3, the class StaticLoggerBinder had an init method that would
> in turn call the init method on the singleton ContextSelectorBinder:
> 
> contextSelectorBinder.init(defaultLoggerContext, KEY);
> 
> -Richard
> 48c29399-04ec-4cd1-8794-c7507a7d5ded


More information about the logback-dev mailing list