Module: TenderImport::ZendeskApiImport::Log

Included in:
Client, Exporter
Defined in:
lib/tender_import/zendesk_api_import.rb

Overview

{{{

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loggerObject (readonly)

Returns the value of attribute logger.



15
16
17
# File 'lib/tender_import/zendesk_api_import.rb', line 15

def logger
  @logger
end

Instance Method Details

#debug(string) ⇒ Object



20
21
22
# File 'lib/tender_import/zendesk_api_import.rb', line 20

def debug string
  logger.debug "#{to_s}: #{string}"
end

#log(string) ⇒ Object



16
17
18
# File 'lib/tender_import/zendesk_api_import.rb', line 16

def log string
  logger.info "#{to_s}: #{string}"
end