Class: RETS4R::Client::HTTPDebugLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/rets4r/client.rb

Overview

Provides a proxy class to allow for net/http to log its debug to the logger.

Instance Method Summary collapse

Constructor Details

#initialize(logger) ⇒ HTTPDebugLogger

Returns a new instance of HTTPDebugLogger.



478
479
480
# File 'lib/rets4r/client.rb', line 478

def initialize(logger)
  @logger = logger
end

Instance Method Details

#<<(data) ⇒ Object



482
483
484
# File 'lib/rets4r/client.rb', line 482

def <<(data)
  @logger.debug(data)
end