Simple logger for python but gui