irrad_control/gui/widgets/logging_widget.py
def write_log(self, log):
        """
        Writes log to respective text edit of log tab. At this point in the application,
        the log is expected to be formatted by the respective logging handler.
        """

        # Check the log level
        level = self._check_level(log)

        # Check if we're logging this level
        if level in self.log_consoles:

            self.log_consoles[level].appendPlainText(log)

            log_idx = self.tabs.indexOf(self.log_consoles[level])

            if self.tabs.currentIndex() != log_idx:
                self.tabs.setTabIcon(log_idx, self._get_icon(level))

        Writes log to respective text edit of log tab. At this point in the application,
        the log is expected to be formatted by the respective logging handler.
        
Writes log to respective text edit of log tab. At this point in the application,
the log is expected to be formatted by the respective logging handler.
Writes log to respective text edit of log tab . At this point in the application the log is expected to be formatted by the respective logging handler .
def write_log(self, log):
        level = self._check_level(log)
        if level in self.log_consoles:
            self.log_consoles[level].appendPlainText(log)
            log_idx = self.tabs.indexOf(self.log_consoles[level])
            if self.tabs.currentIndex() != log_idx:
                self.tabs.setTabIcon(log_idx, self._get_icon(level))
def write_log ( self , log ) : level = self . _check_level ( log ) if level in self . log_consoles : self . log_consoles [ level ] . appendPlainText ( log ) log_idx = self . tabs . indexOf ( self . log_consoles [ level ] ) if self . tabs . currentIndex ( ) != log_idx : self . tabs . setTabIcon ( log_idx , self . _get_icon ( level ) )
Writes log to respective text edit of log tab.
Writes log to respective text edit of log tab .
"""
        Writes log to respective text edit of log tab. At this point in the application,
        the log is expected to be formatted by the respective logging handler.
        """ # Check the log level # Check if we're logging this level
self
log