Class: Bio::Log::FailOnError
- Inherits:
-
NormalUser
- Object
- NormalUser
- Bio::Log::FailOnError
- Defined in:
- lib/bio/log/loggerusers.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from NormalUser
Instance Method Details
#error(logger, msg) ⇒ Object
31 32 33 34 |
# File 'lib/bio/log/loggerusers.rb', line 31 def error logger, msg logger.error msg raise FailOnErrorException,msg end |
#fatal(logger, msg) ⇒ Object
36 37 38 39 |
# File 'lib/bio/log/loggerusers.rb', line 36 def fatal logger, msg logger.fatal msg raise FailOnErrorException end |