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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

content management system - How to allow only English submissions on Pligg CMS -

c++ - Is it possible to apply breadth-first search algorithm of boost library to matrix? -