add debug logs for both addEvent and upload
Merge pull request #13 from keenlabs/log-events

add debug logs for both addEvent and upload