Answers for "loging.info() python"

4

Math Module log() Function in python

>>> import math
>>> math.log(10, 1000)
0.33333333333333337
Posted by: Guest on April-10-2022
8

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

Python Answers by Framework

Browse Popular Code Answers by Language