Method: PEROBS::ILogger#fatal
- Defined in:
- lib/perobs/Log.rb
#fatal(msg, &block) ⇒ Object
Print an error message via the Logger and raise a Fit4Ruby::Error. This method should be used to abort the program in case of program logic errors.
105 106 107 108 |
# File 'lib/perobs/Log.rb', line 105 def fatal(msg, &block) @@logger.fatal(msg, &block) raise FatalError, msg end |