Answers for "python log managment"

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
-1

logarithms python

import math
#E.g log_2(8) 
result = math.log(8,2)
Posted by: Guest on December-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language