2010-10-28 23:36:45 +00:00
|
|
|
module Locomotive
|
|
|
|
module Import
|
|
|
|
module Logger
|
|
|
|
|
|
|
|
def log(message, domain = '')
|
2011-07-04 10:22:04 +00:00
|
|
|
head = "[import_template]"
|
2010-10-28 23:36:45 +00:00
|
|
|
head += "[#{domain}]" unless domain.blank?
|
2011-07-26 19:20:03 +00:00
|
|
|
::Locomotive.log "\t#{head} #{message}"
|
2010-10-28 23:36:45 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|