Skip to content

Expose MDC to Slf4jLoggerInternal isEnabled #910

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

Merged

Conversation

morgen-peschke
Copy link
Contributor

@morgen-peschke morgen-peschke commented Apr 10, 2025

One approach to enable functionality requested in #868 (see also discussion in #907)

Note

This will mean doing MCD manipulation every time isEnabled is called, but I don't really see a way around that if we want to support this functionality.

@morgen-peschke morgen-peschke requested review from a team and danicheg April 15, 2025 19:48
@bcarter97
Copy link

@danicheg any thoughts on this? Would be a very useful addition for us 😄

@morgen-peschke morgen-peschke merged commit 34bfc72 into typelevel:main May 23, 2025
14 checks passed
@morgen-peschke morgen-peschke deleted the support-slf4j-dynamic-is-enabled branch May 23, 2025 16:28
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.

3 participants