DEV Community

Good Bye console.log,no console.log in 2022

SHIVANSH PATEL on December 31, 2021

yes you heard it right. we frequently use console.log() to check our outputs in console, it's ok in Development mode but it is highly disgraced in...
Collapse
 
grahamthedev profile image
GrahamTheDev
Comment hidden by post author
Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL
Comment hidden by post author
Collapse
 
deathshadow60 profile image
deathshadow60 • Edited
Comment hidden by post author
Collapse
 
ezpzdevelopement profile image
Ez Pz Developement

it is the same man, i also don't want use an external library console is better for me

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

Now its changed,see the latest update

Collapse
 
ezpzdevelopement profile image
Ez Pz Developement

i want the advantages , why are you hiding my comment ???

Thread Thread
 
imshivanshpatel profile image
SHIVANSH PATEL

You will get the advantages just wait for few days 👍

Thread Thread
 
ezpzdevelopement profile image
Ez Pz Developement • Edited

thank you , i want the advantages, why it is different from other libs , so maybe i can help to improve it with some prs

Thread Thread
 
imshivanshpatel profile image
SHIVANSH PATEL

offcourse bro

Collapse
 
ezpzdevelopement profile image
Ez Pz Developement
Comment hidden by post author
Collapse
 
minecodes profile image
Minecodes

This is a good idea 😉
I've programmed it myself so far, but I think you have a better solution than me.

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

Thanks bro, I just launched it 2 days ago 😀

Collapse
 
minecodes profile image
Minecodes

I made a pull request 😉

Thread Thread
 
imshivanshpatel profile image
SHIVANSH PATEL

Thanks for your contribution , let me check i will surely approve your PR

Thread Thread
 
imshivanshpatel profile image
SHIVANSH PATEL

PR approved 🎉

Collapse
 
seven_77 profile image
Seven

implement on your own is always the good way to learn something, after checking your repo I found one issue which we got the same date even using a timer, PR raised.

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

Ok bro let me check 👍

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

PR APPROVED

Collapse
 
earthboundmisfit profile image
Muzammil

Great contribution!!

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

Thanks

Collapse
 
vivekkodira profile image
Vivek Kodira

Nice work Shivansh.

Collapse
 
imshivanshpatel profile image
SHIVANSH PATEL

Thank you ❤️

Collapse
 
lazypro profile image
ChunTing Wu • Edited

If I really need a logger on production, then I would rather log to the file or a log server instead of the console.
I don't know what's the benefit of using a 3rd party console logger.

Some comments have been hidden by the post's author - find out more