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

doesn't work when used in front-end code #24

Open
mx2323 opened this issue Jul 8, 2021 · 0 comments
Open

doesn't work when used in front-end code #24

mx2323 opened this issue Jul 8, 2021 · 0 comments

Comments

@mx2323
Copy link

mx2323 commented Jul 8, 2021

hi, one of the reasons to use winston is because it supports logging both in node.js and in frontend javascript code.

for teams like us that package javascript code in a shared library that may run in both front-end javascript and back-end node.js, this transport library doesn't work - when we boot up our front-end page we get this -

image

since winston explicitly supports logging in both front-end and back-end components, this library should either work in the front-end or explicitly say that it doesn't support browser environments.

if it doesn't support browser environments, then we are probably going to have to move to a different logging service other than Sentry

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

No branches or pull requests

1 participant