log base in python

41

log base in python -

import math
math.log(a,Base)

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')

Comments

Submit
0 Comments