Did I find the right examples for you? yes no

All Samples(40)  |  Call(40)  |  Derive(0)  |  Import(0)
Log 'msg % args' with severity 'DEBUG'.

To pass exception information, use the keyword argument exc_info with
a true value, e.g.

logger.debug("Houston, we have a %s", "thorny problem", exc_info=1)

src/i/s/ishell-0.1.1/ishell/command.py   ishell(Download)
    def _dynamic_args(self, state, buf=''):
        args = self.args()
        completions = [c for c in args if buf is None or c.startswith(buf)]
        completions = completions + [None]
        logger.debug("Returned dynamic args: %s" % completions)
        return completions[state]
 
    def complete(self, line, buf, state, run=False, full_line=None):
        logger.debug('Walked to: %s' % self.name)
            if self.dynamic_args:
                if len(line) > 1:
                    logger.debug("Dynamic arg '%s' found" % line[0])
                    has_arg_completed = True
                    # Dynamic arg already filled, jump to next word
                            count += 1
                    if count > 1 and len(line) == 1:
                        logger.debug("More than one candidate, not walking in %s" % buf)
                        return self._next_command(state, buf)
                logger.debug("Found %s in childs, walking." % next_command)

src/i/s/ishell-HEAD/ishell/command.py   ishell(Download)
    def _dynamic_args(self, state, buf=''):
        args = self.args()
        completions = [c for c in args if buf is None or c.startswith(buf)]
        completions = completions + [None]
        logger.debug("Returned dynamic args: %s" % completions)
        return completions[state]
 
    def complete(self, line, buf, state, run=False, full_line=None):
        logger.debug('Walked to: %s' % self.name)
            if self.dynamic_args:
                if len(line) > 1:
                    logger.debug("Dynamic arg '%s' found" % line[0])
                    has_arg_completed = True
                    # Dynamic arg already filled, jump to next word
                            count += 1
                    if count > 1 and len(line) == 1:
                        logger.debug("More than one candidate, not walking in %s" % buf)
                        return self._next_command(state, buf)
                logger.debug("Found %s in childs, walking." % next_command)

src/i/s/ishell-0.1.1/ishell/console.py   ishell(Download)
        if run:
            line_commands = buf.split()
        logger.debug("Line=>%s" % line_commands)
 
        if not line and not buf and not run:
        for cmd_name in line_commands:
            if self.is_child(cmd_name):
                logger.debug("Found existing command=>%s" % cmd_name)
                #if not line.endswith(' '):
                    #logger.debug("Inserting space to line buffer")
 
        # Needing completion
        logger.debug('buffer=> %s, state=>%s' % (buf, state))
        tokens = buf.split()
        logger.debug('tokens=>%s' % tokens)
 
        # Nothing was provided, running root completion
        completions = self.completions(tokens[0])
        completions += [None]
        logger.debug('completions=>%s' % completions)

src/i/s/ishell-HEAD/ishell/console.py   ishell(Download)
        if run:
            line_commands = buf.split()
        logger.debug("Line=>%s" % line_commands)
 
        if not line and not buf and not run:
        for cmd_name in line_commands:
            if self.is_child(cmd_name):
                logger.debug("Found existing command=>%s" % cmd_name)
                #if not line.endswith(' '):
                    #logger.debug("Inserting space to line buffer")
 
        # Needing completion
        logger.debug('buffer=> %s, state=>%s' % (buf, state))
        tokens = buf.split()
        logger.debug('tokens=>%s' % tokens)
 
        # Nothing was provided, running root completion
        completions = self.completions(tokens[0])
        completions += [None]
        logger.debug('completions=>%s' % completions)