import  logging
logging.basicConfig(format='%(levelname)s: %(message)s',level=logging.DEBUG)
logging.debug('this messgae is just a try message appear on the console')
logging.info('So should this ')
logging.warning('And this too ')

