4 ms·
I used to do that (in Python) but find it's much more efficient to use the logging module. If you're going to put in print statements, it's likely to be a good
by c4urself 15y ago
I used to do that (in Python) but find it's much more efficient to use the logging module. If you're going to put in print statements, it's likely to be a good spot to put in a debug/error/info/warn log, so when you're application is being used you can turn the logging to whichever level you need and see what's going on.