Adding logging to the gem