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

Specify log subscribers need a logger set before they can receive events #36667

Merged

Conversation

gmcgibbon
Copy link
Member

Summary

Closes #36657.

The current example code for ActiveSupport::LogSubscriber mysteriously fails if you're using it outside of Rails. This helps clarify a logger needs to be set first before log subscribers can process events.

The current example code for `ActiveSupport::LogSubscriber` mysteriously
fails if you're using it outside of Rails. This helps clarify a logger
needs to be set first before log subscribers can process events.

[ci skip]
@gmcgibbon gmcgibbon force-pushed the clarify_logger_set_in_log_subscriber_docs branch from e066262 to 1719658 Compare July 15, 2019 15:36
@gmcgibbon gmcgibbon merged commit 85b422b into rails:master Jul 16, 2019
@gmcgibbon gmcgibbon deleted the clarify_logger_set_in_log_subscriber_docs branch July 16, 2019 16:10
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.

ActiveSupport::LogSubscriber documentation is missing some information
2 participants