Sha256: dda751753844f7e7fc88bc1a2b2a7ec70689be56dd75c5eec0678f627c4215b2

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

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

5 entries across 5 versions & 2 rubygems

Version Path
Sutto-marvin-0.1.0.20081014 lib/marvin/exception_tracker.rb
Sutto-marvin-0.1.0.20081016 lib/marvin/exception_tracker.rb
Sutto-marvin-0.1.20081115 lib/marvin/exception_tracker.rb
Sutto-marvin-0.1.20081120 lib/marvin/exception_tracker.rb
jeffrafter-marvin-0.1.20081115 lib/marvin/exception_tracker.rb