def error(self, format, *args): if _canShortcutLogging(self.logCategory, ERROR): return doLog(ERROR, self.logObjectName(), self.logCategory, format, self.logFunction(*args), where=-2)
def _seekTimeoutCb(self): self.pending_seek_id = None if self.position != None and self.format != None: position, self.position = self.position, None format, self.format = self.format, None try: self.emit('seek', position, format) except: log.doLog(log.ERROR, None, "seeker", "Error while seeking to position:%s format:%r", (gst.TIME_ARGS(position), format)) # if an exception happened while seeking, properly # reset ourselves return False return False
def _errorObject(object, cat, format, *args): """ Log a fatal error message in the given category. This will also raise a L{SystemExit}. """ doLog(ERROR, object, cat, format, args)