Closed
Description
Good work @KengoTODA on SLF4J-450. Unfortunately the PROVIDER_PROPERTY_KEY
constant is not public in LoggerFactory
:
static final public String PROVIDER_PROPERTY_KEY = "slf4j.provider";
This is part of the official, documented API, so it's appropriate that it should be public. After all I might want to programmatically set the system property like this (see #361), for example in JUnit tests:
@BeforeAll
static void disableLogging() {
System.setProperty("slf4j.provider", NOP_FallbackServiceProvider.class.getName());
}
If nobody has any objections, I can file a pull request for this.
Metadata
Metadata
Assignees
Labels
No labels