  import logging
  import os
  import platform
  import sys
  import tkinter as tk
  from tkinter import filedialog, ttk
  from threading import Event, Thread
 
</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") </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")
import re
  import logging
  import os
  import platform
import re
  import sys
  import tkinter as tk
  from tkinter import filedialog, ttk
  from threading import Event, Thread
keep keep add keep keep keep keep
 Color code log messages in GUI Console 
lib/gui/utils.py