Module: FireLogger::Ext
- Included in:
- FireLogger
- Defined in:
- lib/support/fire_logger.rb
Instance Method Summary collapse
- #request(method, path) ⇒ Object
- #response(response_value, path) ⇒ Object
- #timed_out(method, path) ⇒ Object
Instance Method Details
#request(method, path) ⇒ Object
5 6 7 |
# File 'lib/support/fire_logger.rb', line 5 def request(method, path) debug "[REQUEST] #{method}: #{path}" end |
#response(response_value, path) ⇒ Object
13 14 15 |
# File 'lib/support/fire_logger.rb', line 13 def response(response_value, path) debug "[RESPONSE] #{response_value.status}: #{ path }" end |
#timed_out(method, path) ⇒ Object
9 10 11 |
# File 'lib/support/fire_logger.rb', line 9 def timed_out(method, path) error "[TIMED OUT] #{method}: #{path}" end |