def loginfo_traceback(self, ctb=None): """return a compact traceback tuple and log it encoded as netstrings, along with this instance's __repr__, in the 'traceback' category""" if ctb == None: ctb = prompt.compact_traceback() self.loginfo_log(*traceback_encode(ctb)) return ctb
def loginfo_traceback (self, ctb=None): """return a compact traceback tuple and log it encoded as netstrings, along with this instance's __repr__, in the 'traceback' category""" if ctb == None: ctb = prompt.compact_traceback () self.loginfo_log (*traceback_encode (ctb)) return ctb
def select_trigger_traceback (self): "return a compact traceback tuple and log asynchronously" ctb = prompt.compact_traceback () self.select_trigger (( self.loginfo_log, loginfo.traceback_encode (ctb) )) return ctb
def _excepthook(*exc_info): traceback(prompt.compact_traceback(exc_info))
def traceback(ctb=None): "return a compact traceback and log it in the 'traceback' category" if ctb == None: ctb = prompt.compact_traceback() logger.log(*traceback_encode(ctb)) return ctb
def _excepthook (*exc_info): traceback (prompt.compact_traceback (exc_info))
def traceback (ctb=None): "return a compact traceback and log it in the 'traceback' category" if ctb == None: ctb = prompt.compact_traceback () logger.log (*traceback_encode (ctb)) return ctb