-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Wire up console.warn/console.error to Raven.captureMessage #85
Comments
No. |
I'm -0 on this - seems like it'd be noisy and only helps developers who'd be in a position to do it the right way instead. |
@acdha , it would be behind a log level setting. So you'd say, |
I wouldn't object to you adding it but I do wonder whether it would just encourage people to send poorly crafted log messages rather than integrate logging correctly. |
usually when you do a Raven.captureMessage or captureException, you could put a console.log there if you like, or write a small wrapper for yourself, would be like two lines of code for the developer. Edit: Really the developer should be wrapping calls to Raven.capture* anyways, otherwise you're really coupling yourself to the Raven implementation. |
This is done with the console plugin. |
Explicitly monkey patch console.* as log levels.
The text was updated successfully, but these errors were encountered: