Giter VIP home page Giter VIP logo

Comments (3)

HALLERPierre avatar HALLERPierre commented on May 23, 2024

Hello,

I think customizing the logger is what you're looking for. Let me know if it's not.

from gremlins.js.

yuriipaneiko avatar yuriipaneiko commented on May 23, 2024

So i need just to paste this peace of code? Because i doesn't see any file with logs in my folder. Could you provide working example? Of course if it possible.

from gremlins.js.

thkruz avatar thkruz commented on May 23, 2024

gremlins.js is capable of logging what it has done, but you will need to follow the stack trace determine what in your code caused the gremlin's action to generate an error. I recommend starting here: https://developers.google.com/web/tools/chrome-devtools/javascript/reference

So i need just to paste this peace of code?

That code allows you to adjust what is done when gremlins.js would normally log a message. For example, you could have the messages sent to an array and then the array could be save to a .txt file at the end of the run.

Because i doesn't see any file with logs in my folder. Could you provide working example? Of course if it possible.

The default implementation only displays messages in the console. Anything beyond that is really outside of the scope of this project and is better suited for somewhere like stackoverflow. https://github.com/eligrey/FileSaver.js/ might be of help, but again, this really isn't the place for your question since it is very specific to your own project.

This issue should be closed.

from gremlins.js.

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.