Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #log #python
ADD COMMENT
Topic
Name
1+2 =