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 a useful mechanism to use loglevel in sites that are already using console.log, and want to add compatibility #42

Open
pimterry opened this issue Mar 14, 2014 · 1 comment

Comments

@pimterry
Copy link
Owner

log.replaceConsole(), for example, to make console.X then work reliably, even if you're in IE etc.

@Doogiemuc
Copy link

I stumbled upon the same quest. While it is possible to replace/redirect console.log (and friends) to logLevel, the remaining problem is that the browser then shows the logoutputs as if they'd be coming from the loglevel module and not from where they originally were called.

(And no bind(), call() or apply() do not help. I tried everything :-(

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

No branches or pull requests

2 participants