Answers for "python log any application"

7

create log in python

logging.basicConfig(filename="logfilename.log", level=logging.INFO)
# Log Creation

logging.info('your text goes here')
logging.error('your text goes here')
logging.debug('your text goes here')
Posted by: Guest on October-28-2020

Code answers related to "python log any application"

Python Answers by Framework

Browse Popular Code Answers by Language