Module: Air18n::LoggingHelper

Defined in:
lib/air18n/logging_helper.rb

Class Method Summary collapse

Class Method Details

.error(text) ⇒ Object



9
10
11
# File 'lib/air18n/logging_helper.rb', line 9

def error text
  ActiveRecord::Base.logger.error text
end

.info(text) ⇒ Object



5
6
7
# File 'lib/air18n/logging_helper.rb', line 5

def info text
  ActiveRecord::Base.logger.info text
end