Added a nice log feature to g pl