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

Switch to Module#prepend to patch stdlib Logger #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jrochkind
Copy link

instead of older style alias_method chain juggling. We hope this has fewer poor interactions with other things patching Logger as in #60. And it's just a more modern cleaner style.

Could be a first step to making this stdlib Logger patching optional, but does not require that.

instead of older style alias_method chain juggling. We hope this has fewer poor interactions with other things patching Logger as in rudionrails#60. And it's just a more modern cleaner style.

Could be a first step to making this stdlib Logger patching optional, but does not require that.
jrochkind added a commit to sciencehistory/kithe that referenced this pull request Apr 20, 2020
to avoid some kind of infinite loop, possibly involving Rails 6 zeitwerk auto-loader. Something is really wrong, this ought not to be necessary, somewhat regretting traject using yell. But for now, this simple thing seems to resolve problem.

rudionrails/yell#60
rudionrails/yell#61
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.

2 participants