Class: Object

Inherits:
BasicObject
Defined in:
lib/rails_objects_logger/object_extensions.rb

Class Method Summary collapse

Class Method Details

.debug(message) ⇒ Object



2
3
4
# File 'lib/rails_objects_logger/object_extensions.rb', line 2

def self.debug(message)
  send_log(:debug, message)
end

.error(message) ⇒ Object



14
15
16
# File 'lib/rails_objects_logger/object_extensions.rb', line 14

def self.error(message)
  send_log(:error, message)
end

.info(message) ⇒ Object



6
7
8
# File 'lib/rails_objects_logger/object_extensions.rb', line 6

def self.info(message)
  send_log(:info, message)
end

.warn(message) ⇒ Object



10
11
12
# File 'lib/rails_objects_logger/object_extensions.rb', line 10

def self.warn(message)
  send_log(:warn, message)
end