Skip to content

Enable logging in Angular #5351

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

Open
christian3042 opened this issue May 18, 2025 · 0 comments
Open

Enable logging in Angular #5351

christian3042 opened this issue May 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@christian3042
Copy link

Hi,

it seems that the logging only can be enabled, when socket.io-client is running on a node instance. If I use socket.io-client in my Angular application and run

localStorage.debug = '*';

no output is logged to the console after reloading the browser.

Is there would be a possibility, to pass your own debug logging instance to the client, this would help solving the issue, as I tried to set up debug 4.3.1 in my angular application and could use it for my own output, but not the output of the socket.io-client, since I cannot pass the instance.

@christian3042 christian3042 added the enhancement New feature or request label May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant