Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Adds feature that allows to prefer a provider #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcarlett
Copy link

@mcarlett mcarlett commented Jul 6, 2023

In case of multiple provides found in class path, instead of picking first, it is possible to prefer one using system property slf4j.preferred.provider, providing the claas name

example:
-Dslf4j.preferred.provider=ch.qos.logback.classic.spi.LogbackServiceProvider will pick the instance of this type if present in the list of the identified providers, instead of first one in the list

@mcarlett mcarlett force-pushed the select-preferred-provider branch from 5c4160a to bf93c0d Compare July 6, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant