Module: Fleck::Loggable
- Included in:
- Client, Client::Request, Client::Response, Core::Consumer, Core::Consumer::Request, Core::Consumer::Response, HostRating
- Defined in:
- lib/fleck/loggable.rb
Instance Method Summary collapse
Instance Method Details
#log_error(error) ⇒ Object
12 13 14 |
# File 'lib/fleck/loggable.rb', line 12 def log_error(error) logger.error "#{error.inspect}\n#{error.backtrace.join("\n")}" end |