added API to enable/disable all SDK logging, by default it is disabled so that potentially sensitive info contained in event data is not logged