Class: Marvin::ExceptionTracker
- Inherits:
-
Object
- Object
- Marvin::ExceptionTracker
- Defined in:
- lib/marvin/exception_tracker.rb
Class Method Summary collapse
Class Method Details
.log(e) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/marvin/exception_tracker.rb', line 7 def self.log(e) logger.fatal "Exception raised inside Marvin Instance." logger.fatal "#{e} - #{e.message}" e.backtrace.each do |line| logger.fatal line end end |