Adding some logging to the gem