Introducing a colorful logger built for easing front-end development — logt Features Small library size - Only ~1.3KB gzipped! Colorful labels to help distinguish logs by importance. Log levels to hide less important log messages. Show hidden messa...
sidhantpanda.hashnode.dev
Wow... Nice library I have a bit of a little different opinion. It might look a little bit contrary to what the library does. I believe the library is just useful in development mode, not in production. Why not make the library check for console class in the Application and then format the console message in the browser. In my use case now I will want to dynamically use it in development mode maybe in my javascript framework like react/angular/vue.. so in my production, the libraries won't go with my bundles.
if want I explain is not clear, pls comment and let me know.
Margaret Goldman
Aspiring ML Engineer
Pretty Cool! 🙌