Module: VCR::Logger::Mixin

Included in:
Cassette, Cassette::HTTPInteractionList, Configuration, RequestHandler
Defined in:
lib/vcr/util/logger.rb

Overview

Provides common logger helper methods that simply delegate to the underlying logger object.

Instance Method Summary collapse

Instance Method Details

#log(message, indentation_level = 0) ⇒ Object



46
47
48
# File 'lib/vcr/util/logger.rb', line 46

def log(message, indentation_level = 0)
  VCR.configuration.logger.log(message, log_prefix, indentation_level)
end

#request_summary(*args) ⇒ Object



50
51
52
# File 'lib/vcr/util/logger.rb', line 50

def request_summary(*args)
  VCR.configuration.logger.request_summary(*args)
end

#response_summary(*args) ⇒ Object



54
55
56
# File 'lib/vcr/util/logger.rb', line 54

def response_summary(*args)
  VCR.configuration.logger.response_summary(*args)
end