Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
Description
For certain environments (unit tests in my case) it is desirable to set a fixed logging backend despite other binders being present. Therefore I propose to amend LoggerFactory to contain an optional reference to StaticLoggerBinder instance, which (when non-null) would be used instead of normal StaticLoggerBinder.getSingleton(); therefore this overriding instance could reside in different package. It would suppress checks for multiple binders as well.