GUI package

class StreamToLogger(logger, log_level=20)[source]

Bases: object

Fake file-like stream object that redirects writes to a logger instance.

write(buf)[source]
Parameters:buf
flush()[source]
my_excepthook(type, value, tback)[source]

When an exception occurs: Log the error and continue (doesn’t kill the GUI)

Parameters:
  • type
  • value
  • tback