logging - Printing at different levels in Python -
logging - Printing at different levels in Python -
i java background. in java can print @ different levels in frameworks. illustration in log4j, have log levels can set debug, info, warn etc.
does python have similar out of box? i.e. without having import lbrary.
thanks.
yep! have @ logging module. here's tutorial.
python logging
Comments
Post a Comment