Re:Icecream: Never use print() to debug again in Python
by blisterpeanuts on Tuesday March 30, 2021 @07:34AM
(#26633375)
Nice feature. Is there a way to globally enable/disable it? E.g.,
So that I could get rid of lots of conditional statements, e.g.:
[ Parent
| on HN ]
Re:Icecream: Never use print() to debug again in Python
by OJFord on Tuesday March 30, 2021 @08:02AM
(#26633593)
Use a logger, not print, and set log level?
Re:Icecream: Never use print() to debug again in Python
by the_jeremy on Thursday April 01, 2021 @11:04AM
(#26661323)
No. You should use logging syntax[0] instead.