-
Notifications
You must be signed in to change notification settings - Fork 110
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
NGXLogger logs point to console.log in ngx-logger.mjs library file #333
Comments
The logger gives you the position of your code in the [] In your case it is 8450.js:1:3363 |
Thank for your reply @bmtheo ! |
Did you :
|
Thank you so much @bmtheo , the |
Just noticed, I never documented how I solved it in my case. I looked at where the links normally point to for
then in
If I remember correctly the display problem with the link is not really the fault of ngx-logger, but what the browser dev environment/console interprets as link / part of a link. |
@tomatemeo |
I had to modify your Writer Service to use different PATH_START and WEBPACK_PREFIX
Not very robust though ;) |
Main reason for this issue is that currently Angular CLI in version > 17 uses es-build instead of webpack for bundling |
I would expect the logs to point to the position in the code, where the logger is called and not to the code line in the library where the
console.log()
is called innode_modules/ngx-logger/fesm/ngx-logger.mjs
. However, in Chrome dev tools it does just that. Is there a setting I am missing, or anything else I could be doing wrong?Any help appreciated
The text was updated successfully, but these errors were encountered: