DEV Community

Discussion on: Hide 🙈 all console logs in production with just 3 lines of code

Collapse
 
eaboy profile image
Eduardo Aboy

I've recently created a small library that let you hide all your console statements. I also added some configuration to show the statements for debugging adding a custom key to the local storage. And you can set some initial styled messages to be shown on the console of your site. Just check it out:

github.com/eaboy/clean-console

Any feedback is very welcome.