Class: ActionSmser::Logger

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

Class Method Summary collapse

Class Method Details

.error(str) ⇒ Object



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

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

.info(str) ⇒ Object



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

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

.warn(str) ⇒ Object



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

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