import logging
#By default only log level from and above warning will be printed
logging.debug('Code entered')
logging.info('Configuring ip address')
logging.warning('Subnet Mask may be incorrect!')
logging.error('Unable to set ip-address!!')
logging.critical('No wifi adapter found!!!')