Module: Logging

Included in:
Tefoji::JiraApi, Tefoji::Tefoji
Defined in:
lib/mixins/logging.rb

Overview

Handles all logging output for Tefoji

Instance Method Summary collapse

Instance Method Details

#fatal(message) ⇒ Object

Another cheap hack to wrap ‘logger’ above. Called as ‘fatal’ rather than ‘logger.fatal’ directly, does the exit for us so we can be lazy.



5
6
7
8
# File 'lib/mixins/logging.rb', line 5

def fatal(message)
  @logger.fatal(message)
  exit 1
end