コード例 #1
0
    def verbose(self, *args):
        """ verbose(*args) -> None
        :param \*args: Arguments are interpreted as for :py:func:`qi.Logger.fatal`.

        Logs a message with level VERBOSE on this logger."""
        info = _logGetTraceInfo()
        pylog(VERBOSE, self.category, _printToString(*args), info.filename, info.function, info.lineno)
コード例 #2
0
    def fatal(self, *args):
        """ fatal(*args) -> None
        :param \*args: Messages format string working the same way as python function print.

        Logs a message with level FATAL on this logger."""
        info = _logGetTraceInfo()
        pylog(FATAL, self.category, _printToString(*args), info.filename, info.function, info.lineno)
コード例 #3
0
 def warning(self, mess, *args):
     """ warning(mess, *args) -> None
     :param mess: Messages string
     :param \*args: Arguments are interpreted as for :py:func:`qi.Logger.fatal`.
     Logs a message with level WARNING on this logger."""
     info = _logGetTraceInfo()
     pylog(WARNING, self.category, _printToString(mess, *args),
           info.filename, info.function, info.lineno)
コード例 #4
0
def warning(cat, *args):
    """ warning(cat, *args) -> None
    :param cat: The category is potentially a period-separated hierarchical value.
    :param \*args: Messages format string working the same way as print python function.

    Logs a message with level WARNING."""
    info = _logGetTraceInfo()
    pylog(WARNING, cat, _printToString(*args), info.filename, info.function, info.lineno)
コード例 #5
0
ファイル: logging.py プロジェクト: aldebaran/libqi-python
    def info(self, mess, *args):
        """ info(mess, *args) -> None
        :param mess: Messages string
        :param \*args: Arguments are interpreted as for :py:func:`qi.Logger.fatal`.

        Logs a message with level INFO on this logger."""
        info = _logGetTraceInfo()
        pylog(INFO, self.category, _printToString(mess, *args), info.filename, info.function, info.lineno)
コード例 #6
0
def verbose(cat, mess, *args):
    """ verbose(cat, mess, *args) -> None
    :param cat: The category is potentially a period-separated hierarchical value.
    :param mess: Messages string
    :param \*args: Messages format string working the same way as print python function.
    Logs a message with level VERBOSE."""
    info = _logGetTraceInfo()
    pylog(VERBOSE, cat, _printToString(mess, *args), info.filename,
          info.function, info.lineno)
コード例 #7
0
ファイル: logging.py プロジェクト: aldebaran/libqi-python
def verbose(cat, mess, *args):
    """ verbose(cat, mess, *args) -> None
    :param cat: The category is potentially a period-separated hierarchical value.
    :param mess: Messages string
    :param \*args: Messages format string working the same way as print python function.

    Logs a message with level VERBOSE."""
    info = _logGetTraceInfo()
    pylog(VERBOSE, cat, _printToString(mess, *args), info.filename, info.function, info.lineno)