Coder Social home page Coder Social logo

Comments (6)

nick-delirium avatar nick-delirium commented on May 26, 2024 1

It will require some refactoring, but it's possible and you're welcome to do a PR if you want to speed up the process :)

from openreplay.

nick-delirium avatar nick-delirium commented on May 26, 2024

sadly this is a limitation of console tracking and nothing can be done about it. Patching happens when you create tracker instance.

from openreplay.

andreialecu avatar andreialecu commented on May 26, 2024

Thanks for the info; I was able to move some code around and make sure not to create a tracker instance while in dev mode.

It might be useful to document this or ensure that patching happens only when tracking is started, if possible?

from openreplay.

andreialecu avatar andreialecu commented on May 26, 2024

PS: At least for Chrome, it may be possible to use x-ignore-list. See: https://developer.chrome.com/docs/devtools/x-google-ignore-list

from openreplay.

nick-delirium avatar nick-delirium commented on May 26, 2024

Linked issue shows code that only works in nodejs, sadly. And ignore list has to be configured on source maps level or inside browser, so its up to user to add it.
If you will have an idea how to adapt nodejs approach or will have another solution, you're welcome to open another issue or do a direct pr. :)

from openreplay.

andreialecu avatar andreialecu commented on May 26, 2024

Sorry, indeed I linked an issue related to nodejs console.log which I deleted. Then I added a comment about Chrome.

See:
https://vandevliet.me/react-native-logs-coming-from-instrument-js-add-sentry-to-your-blackbox/

I think the ignoreList parameter would automate this.

from openreplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.