Module: AllMyCircuits::Logging

Included in:
Breaker
Defined in:
lib/all_my_circuits/logging.rb

Instance Method Summary collapse

Instance Method Details

#debug(message, breaker_name, request_number = nil) ⇒ Object



4
5
6
# File 'lib/all_my_circuits/logging.rb', line 4

def debug(message, breaker_name, request_number = nil)
  AllMyCircuits.logger.debug(format_line(message, breaker_name, request_number))
end

#info(message, breaker_name, request_number = nil) ⇒ Object



8
9
10
# File 'lib/all_my_circuits/logging.rb', line 8

def info(message, breaker_name, request_number = nil)
  AllMyCircuits.logger.info(format_line(message, breaker_name, request_number))
end