Added a NullLogger, made it the default.
authorIan Smith <ian.smith@mylookout.com>
Thu, 12 Sep 2013 21:21:44 +0000 (14:21 -0700)
committerIan Smith <ian.smith@mylookout.com>
Tue, 24 Sep 2013 19:11:51 +0000 (12:11 -0700)
commitec9424f6da59936c1110608d28fd5cdbed0819c9
tree94f49d4b92e8a5c9276079bb3bf6c0d5b1218fcf
parent0ff7669056665f9f9c8fdcdb869de46d567dfafe
Added a NullLogger, made it the default.

This lets us remove several instances of `if @logger &&
@logger.respond_to?(:some_method)`

(https://gist.github.com/ppaul/6540400, #9)
examples/slogger.rb [deleted file]
lib/connection/heartbeats.rb
lib/connection/netio.rb
lib/connection/utils.rb
lib/stomp.rb
lib/stomp/client.rb
lib/stomp/connection.rb
lib/stomp/null_logger.rb [new file with mode: 0644]
lib/stomp/slogger.rb [new file with mode: 0644]
spec/client_spec.rb
stomp.gemspec