-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Missing console logs in terminal output #2602
Comments
@IgorAufricht I don't see link to original report. Log function is the basic and lowest priority function of |
@blackswanny Thank you for the hint. I added this to my config and now I can see my logs again on the terminal.
The docs about this config can be found here. |
I swear I added this too, but with level 'info'.. It works now - sorry and thank you! |
The documentation says:
This is currently not the case. Log level is not always logged, it's only logged when you set the
For every other I believe the |
agree. However, the main idea is to prevent consoling of some level and up. |
@blackswanny While I agree with your idea in general, the fact is |
@IgorAufricht I think this was the main idea of the whole feature. When a person writes unit tests, he wants to focus on exact failing or under investigation unit tests and functionality. The one doesn't want to go through many log pages of some other irrelevant stuff trying to find needed information. Especially, if these console.logs are left by third party frameworks or other parties |
@blackswanny Fair enough, thanks for the explanation. |
I would expect the priority to be debug(), info(), log(), warn(), and error() (ie in increasing level of severity). This matches the filters in Chrome's console, which puts debug() under Verbose, info() and log() under Info, warn() under Warnings, and error() under Errors. |
Hi,
until karma 1.4.1 I had console.log / error / debug output but since 1.5.0 nothing is printed to the terminal. I have seen the following changelog:
filter browser logging by level of LOG (89a7a1c), closes #2228
Do I have anything to adapt?
Following config is used:
Thank you!
The text was updated successfully, but these errors were encountered: