Closed garretwilson closed 1 year ago
@garretwilson No objections and I agree with your assessment. However, PROVIDER_PROPERTY_KEY is already public as can be seen in commit 2481810f94f32923db5eb86f. Am I missing something?
Huh, I don't know how I missed that. Maybe it was because I was just looking at the source code and was accustomed to see public
as the first modifier. (See discussion on order at https://stackoverflow.com/a/16732059 .)
Let me try it again in my IDE …
Well, duh, I even showed the source code in the description!! 🤦♂️
It was toward the end of the day, so I think I just missed it because I'm used to seeing public
as the first modifier. And when I tried it in the IDE I must have accidentally used ILoggerFactory
instead of LoggerFactory
.
It seems I was mistaken. You can close this ticket as invalid. Thanks!
Good work @KengoTODA on SLF4J-450. Unfortunately the
PROVIDER_PROPERTY_KEY
constant is not public inLoggerFactory
: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:
If nobody has any objections, I can file a pull request for this.