Closed kakaday22 closed 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
colorizedStderrPrint
colorizedStdoutPrint
Additionally I have added 2 new methods:
enableStdout
enableStderr
ic.enableStdout() # sets `colorizedStdoutPrint` ic.enableStderr() # sets `colorizedStderrPrint`
default functionality unchanged, when import ic it still defaults to stderr function
ic
I have also updated the documentation under misc section how to use the feature
This PR adds the functionality to toggle between which print function to use.
Following the function
colorizedStderrPrint
I have added a similar one forcolorizedStdoutPrint
that prints to stdoutAdditionally I have added 2 new methods:
enableStdout
enableStderr
That toggles between which print function to use:default functionality unchanged, when import
ic
it still defaults to stderr functionI have also updated the documentation under misc section how to use the feature