Module: Everything::Logger::LogIt

Defined in:
lib/everything/logger/log_it.rb

Instance Method Summary collapse

Instance Method Details

#debug_it(message) ⇒ Object



4
5
6
# File 'lib/everything/logger/log_it.rb', line 4

def debug_it(message)
  Everything.logger.debug(class_name) { message }
end

#error_it(message) ⇒ Object



8
9
10
# File 'lib/everything/logger/log_it.rb', line 8

def error_it(message)
  Everything.logger.error(class_name) { message }
end

#info_it(message) ⇒ Object



12
13
14
# File 'lib/everything/logger/log_it.rb', line 12

def info_it(message)
  Everything.logger.info(class_name) { message }
end