Class: ActionSmser::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/action_smser.rb

Class Method Summary collapse

Class Method Details

.error(str) ⇒ Object



27
28
29
# File 'lib/action_smser.rb', line 27

def self.error(str)
  Rails.logger.error("ActionSmser: #{str}")
end

.info(str) ⇒ Object



21
22
23
# File 'lib/action_smser.rb', line 21

def self.info(str)
  Rails.logger.info("ActionSmser: #{str}")
end

.warn(str) ⇒ Object



24
25
26
# File 'lib/action_smser.rb', line 24

def self.warn(str)
  Rails.logger.warn("ActionSmser: #{str}")
end