fromluxonimportGetLogger# As per per 282 use the module name.log=GetLogger(__name__)log.critical('Critical message')log.error('Error message')log.warning('Warning message')log.info('Informational message')log.debug('Debug message')# Returns bool if in debug mode.log.debug_mode()