-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Debug level is not showing in console #111
Comments
Yes, this is currently being discussed over here: #64 (comment). V8 seems to have quietly made console.debug do nothing, which breaks this. The current plan is to just map |
Yes this would work for my needs. In the future of this package, I share the sentiment of @olegstepura that there should exist all 6 logging levels as |
+1 for mapping to console.log.... it's annoying not having a debug log level. Any plan for updating that soon? |
This should now be fixed, released in 1.5.0.
|
I don't understand why this change is required for Chrome. The latest stable version of Chrome shows |
@Trikolon not having these messages appear by default is somewhat annoying and confusing for loglevel users, and the MDN docs say:
In addition, it's no longer listed in the Node docs for You're right that you can change the log levels as an effective a workaround. At the moment though it looks like |
That makes sense. Thanks for the explanation! |
@pimterry It's much more annoying to have them logged at the wrong level. The MDN docs have probably been updated since you quoted them, but Please don't try to fix a "problem" that isn't yours by changing expected behaviour. Edit: I may have jumped-the-gun with this comment, but it is still very misleading to not support |
As the title states, calls to
log.debug
do not print results to the console. The following script index.js was run withnode index.js
:and the following was displayed on the console:
As the output shows, the
DEBUG
level is skipped.I am using loglevel v1.4.1 with Node.js 8.2.1 and npm 5.3.0 on macOS 10.12.6.
The text was updated successfully, but these errors were encountered: