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

Add doc to explain how to migrate to the new BroadcastLogger: #49518

Merged
merged 1 commit into from Oct 7, 2023

Conversation

Edouard-chin
Copy link
Member

Add doc to explain how to migrate to the new BroadcastLogger:

cc/ @mensfeld Hopefully this should make it clearer!

Copy link
Member

@zzak zzak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of minor things otherwise LGTM, please squash, and thank you! 🙇

- This should make it easier for apps or libraries that were
  previously relying on the private API.
  Also took the opportunity to tweak the doc of the BroadcastLogger
  to mention what happens when calling a non-standard method.

  Fix rails#49494
@Edouard-chin
Copy link
Member Author

Thanks for the corrections !

@Edouard-chin Edouard-chin merged commit 402758b into rails:main Oct 7, 2023
4 checks passed
@Edouard-chin Edouard-chin deleted the ec-logger-doc branch October 7, 2023 12:56
eileencodes pushed a commit that referenced this pull request Oct 11, 2023
Add doc to explain how to migrate to the new BroadcastLogger:
@eileencodes
Copy link
Member

Backported to 7-1-stable in 773e4a6

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.

Indicate in the changelog/release notes for 7.1, that Rails.logger is now a BroadcastLogger
3 participants