pubnub/ruby — pull request #6 by mlomnicki (2013-07-12 13:07:43+00:00)
Title: Allow to pass custom logger

Current logger always logs to /tmp/pubnubError.log.
This patch allows to pass own logger, eg. Rails.logger or Syslog.

Custom logger can be passed in initializer through options hash:
```ruby
Pubnub.new(:subscribe_key => '...', :logger => Rails.logger)
```

If custom logger is not given it uses default logger.