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

Delegate block in broadcast logger method_missing #49458

Merged
merged 1 commit into from Oct 3, 2023

Conversation

eugeneius
Copy link
Member

Followup to #49417.

When a method called on a broadcast logger is passed a block, it should be forwarded to all subscribed loggers. For example, calling Rails.logger.tagged { } currently returns a new tagged logger instead of running the given block.

When a method called on a broadcast logger is passed a block, it should
be forwarded to all subscribed loggers.
@eugeneius eugeneius added this to the 7.1.0 milestone Oct 2, 2023
@Edouard-chin
Copy link
Member

Thanks 👍

@eugeneius eugeneius merged commit d24bbcd into rails:main Oct 3, 2023
4 checks passed
eugeneius added a commit that referenced this pull request Oct 3, 2023
Delegate block in broadcast logger method_missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants