-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Save a reference to console methods in console transport #2498
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM up to comment - but also want @Jimbly to test ideally :)
Will wait a day or so to see if @Jimbly can give us the 👍 on this one but it does look like it's in the spirit of the fix that was being discussed... thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Will merge and ship this as a patch release (I think that feels appropriate), please feel free to try out the new version (to be released imminently) and lmk what you think. Thanks again for the contributions! |
Fixes #2497
console.log
,console.warn
, andconsole.error
@Jimbly could you please give this a try and see if it fixes your circular reference issue? I could never get a circular reference, but I did get other errors that no longer happen with this change and logging seems to work fine.