gruns / icecream

🍦 Never use print() to debug again.
MIT License
9.21k stars 187 forks source link

Exposing functions to toggle between stdour and stderr #148

Closed kakaday22 closed 1 year ago

kakaday22 commented 1 year ago

This PR adds the functionality to toggle between which print function to use.

Following the function colorizedStderrPrint I have added a similar one for colorizedStdoutPrint that prints to stdout

Additionally I have added 2 new methods:

default functionality unchanged, when import ic it still defaults to stderr function

I have also updated the documentation under misc section how to use the feature