-
Notifications
You must be signed in to change notification settings - Fork 109
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
logger.debug('...') calls don't work when level is set to logger.DEBUG #61
Comments
Hi, sorry to see you are experiencing problems. I think this might be an environmental issue as this test case looks like it covers your repro case above? To help debug this further could you let me know which browser you are using? Thanks |
I'm using Chrome Version 61.0.3163.91 (Official Build) (64-bit) (latest version at the time of writing). But nevertheless I doubt it is an environmental issue since the v1.3.0 works as expected and v1.4.1 has this issue. |
Ah ok, I think I know what the problem might be. v1.4 of js-logger introduced a change which rows l routed Is it possible that your console log filter setting in Chrome Developer Tools is filtering these messages out? Apologies if this is not the case but I'm currently without access to an environment where I can recreate this issue. |
@jonnyreeves that was it. I guess this is how it is supposed to work form now on. |
logger.debug('...')
calls are NOT printed when level is set tologger.DEBUG
when usingv1.4.1
.logger.info('...')
and above are printed.With
v1.3.0
it works fine.This is the basic functionality of a logger, if this doesn't work than it's pretty much useless :P
For the project where I'm using it I'm writing my code in
TypeScript
and compiling it with latest version ofwebpack
, it might be relevant.Will be using
v1.3.0
until this issue is resolved.Thanks!
The text was updated successfully, but these errors were encountered: