engine/lib/locomotive/import/logger.rb

13 lines
251 B
Ruby

module Locomotive
module Import
module Logger
def log(message, domain = '')
head = "[import_template]"
head += "[#{domain}]" unless domain.blank?
::Locomotive.log "\t#{head} #{message}"
end
end
end
end