          logger.debug("Built console")
  
      def redirect_console(self):
          """ Redirect stdout/stderr to console frame """
          logger.debug("Redirect console")
          if self.debug:
 
</s> remove         self.console.config(width=100, height=6, bg="gray90", fg="black")
 </s> add         self.console.config(width=100, height=6, bg="#1E1E1E", fg="white") </s> remove         self.console.insert(tk.END, string, self.out_type)
        self.console.tag_config(self.out_type, foreground=self.color)
 </s> add         self.console.insert(tk.END, string, self.get_tag(string)) </s> remove         self.color = ("black" if out_type == "stdout" else "red")
 </s> add         self.recolor = re.compile(r".+?(\s\d+:\d+:\d+\s)(?P<lvl>[A-Z]+)\s")
    def add_tags(self):
        """ Add tags to text widget to color based on output """
        logger.debug("Adding text color tags")
        self.console.tag_config("default", foreground="#A6A7A8")
        self.console.tag_config("stderr", foreground="#E25056")
        self.console.tag_config("info", foreground="#98CCFD")
        self.console.tag_config("verbose", foreground="#6A9955")
        self.console.tag_config("warning", foreground="#CE9178")
        self.console.tag_config("critical", foreground="red")
        self.console.tag_config("error", foreground="red")

          logger.debug("Built console")
  
    def add_tags(self):
        """ Add tags to text widget to color based on output """
        logger.debug("Adding text color tags")
        self.console.tag_config("default", foreground="#A6A7A8")
        self.console.tag_config("stderr", foreground="#E25056")
        self.console.tag_config("info", foreground="#98CCFD")
        self.console.tag_config("verbose", foreground="#6A9955")
        self.console.tag_config("warning", foreground="#CE9178")
        self.console.tag_config("critical", foreground="red")
        self.console.tag_config("error", foreground="red")

      def redirect_console(self):
          """ Redirect stdout/stderr to console frame """
          logger.debug("Redirect console")
          if self.debug:
keep add keep keep keep keep
 Color code log messages in GUI Console 
lib/gui/utils.py