Module: TenderImport::ZendeskApiImport::Log
Overview
{{{
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object (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 |