def notify_launch(self, log_level='ERROR'):
        """logs launcher message before startup

        Args:
            log_level (str): level to notify at

        """
        if not self.debug:
            self.logger.log(
                logging.getLevelName(log_level),
                'LAUNCHING %s -- %s', self.PROGNAME, platform.node()
            )
        flask_options = {
            key: getattr(self, key) for key in OPTION_ARGS
        }
        flask_options['host'] = self.get_host()

        self.logger.info('OPTIONS: %s', flask_options)
def notify_launch ( self , log_level = 'ERROR' ) : if not self . debug : self . logger . log ( logging . getLevelName ( log_level ) , 'LAUNCHING %s -- %s' , self . PROGNAME , platform . node ( ) ) flask_options = { key : getattr ( self , key ) for key in OPTION_ARGS } flask_options [ 'host' ] = self . get_host ( ) self . logger . info ( 'OPTIONS: %s' , flask_options )
logs launcher message before startup

        Args:
            log_level (str): level to notify at