Class: ActionSmser::Logger

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

Class Method Summary collapse

Class Method Details

.error(str) ⇒ Object



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

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

.info(str) ⇒ Object



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

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

.warn(str) ⇒ Object



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

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