Optional logging.
Fix for https://github.com/intercom/intercom-ios/issues/12