Module: AllMyCircuits::Logging
- Included in:
- Breaker
- Defined in:
- lib/all_my_circuits/logging.rb
Instance Method Summary collapse
- #debug(message, breaker_name, request_number = nil) ⇒ Object
- #info(message, breaker_name, request_number = nil) ⇒ Object
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(, breaker_name, request_number = nil) AllMyCircuits.logger.debug(format_line(, 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(, breaker_name, request_number = nil) AllMyCircuits.logger.info(format_line(, breaker_name, request_number)) end |