added logging to SendToTwitter