add ability to override log function
Merge branch 'master' of github.com:fuzz-radio/Javascript-SDK