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


455
456
457
# File 'lib/rets4r/client.rb', line 455

def initialize(logger)
  @logger = logger
end

Instance Method Details

#<<(data) ⇒ Object


459
460
461
# File 'lib/rets4r/client.rb', line 459

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