Git Product home page Git Product logo

Comments (3)

danielscottjames avatar danielscottjames commented on June 3, 2024

I vote we just use console.log, I still don't see the point of the logging library.

from sinap-ide.

slaymaker1907 avatar slaymaker1907 commented on June 3, 2024

@Sheyne that's why I also offer LOG.info. I think it makes stuff more easily filterable, plus if we ever want to get really fancy and have some logging config to turn on/off certain loggers, I wrote it so that would be easy.

I think it also encourages logging to view how things are being processed in the app. That was a big reason of why it was so easy for me to figure out that the PluginManager was causing a bunch of reloads.

I didn't pull in a library because it didn't seem that difficult to write and I have very little trust for the JavaScript community.

from sinap-ide.

cj-dimaano avatar cj-dimaano commented on June 3, 2024

I'm not really convinced that we need a separate logging library for debugging. I also don't really see the benefit of having a logging library for runtime purposes, either.

Looking at the commit, I'm failing to see how LOG.* is any different from console.log other than with its semantical use. If anything, I feel that LOG is adding unnecessary bloat to our infrastructure. How does our application benefit from a logger when running in production mode?

from sinap-ide.

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.