Sha256: 89add94513043749372413709abffdb81950cbc0dc2d3aa10396a0e07149631f

Contents?: true

Size: 317 Bytes

Versions: 11

Compression:

Stored size: 317 Bytes

Contents

module Marvin
  class ExceptionTracker
  
    cattr_accessor :logger
    self.logger = Marvin::Logger
  
    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
  
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
Sutto-marvin-0.2.0 lib/marvin/exception_tracker.rb
Sutto-marvin-0.2.1 lib/marvin/exception_tracker.rb
Sutto-marvin-0.2.2 lib/marvin/exception_tracker.rb
Sutto-marvin-0.2.3 lib/marvin/exception_tracker.rb
Sutto-marvin-0.2.4 lib/marvin/exception_tracker.rb
Sutto-marvin-0.3.0 lib/marvin/exception_tracker.rb
Sutto-marvin-0.3.2 lib/marvin/exception_tracker.rb
Sutto-marvin-0.3.3 lib/marvin/exception_tracker.rb
Sutto-marvin-0.3.4 lib/marvin/exception_tracker.rb
Sutto-marvin-0.4.0 lib/marvin/exception_tracker.rb
jeffrafter-marvin-0.1.20081120 lib/marvin/exception_tracker.rb