Separating Logger from Gui