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

Logging does not work on Chrome #16

Closed
MarkStega opened this issue Aug 2, 2018 · 2 comments
Closed

Logging does not work on Chrome #16

MarkStega opened this issue Aug 2, 2018 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@MarkStega
Copy link
Contributor

I added a bunch of logging to several of my Blazor pages. Nothing was showing up in the Chrome console. I was using the vanilla

@inject ILogger<ORManagerView> m_Logger

and

    m_Logger.LogDebug("ORManagerView OnInitAsync() entry");

So I tried in Firefox & Edge, Here are the results:

Chrome Version 68.0.3440.84 (Official Build) (64-bit) -- No output to console
Microsoft Edge 42.17134.1.0 -- Works as desired
Firefox 61.1.1 (64 bit) -- Works as desired

@galvesribeiro galvesribeiro self-assigned this Aug 2, 2018
@galvesribeiro galvesribeiro added the question Further information is requested label Aug 2, 2018
@galvesribeiro
Copy link
Member

As you can see on another issue here, you need to set the proper log filter on Chrome. #7 (comment)

That is why you are not seeing the logs on it as the default is different than Edge and FF.

Let me know if I can help further.

@MarkStega
Copy link
Contributor Author

@galvesribeiro
Thank you, indeed that was the issue. It would be a good thing if this was pointed out in your readme.md. maybe a new heading 'Issues'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants