#3: Remove setUseHttps
#3: Fix logEvents signatures