Rolled own logging system to replace wx's