Method: Wait::BaseRaiser#log

Defined in:
lib/raisers/base.rb

#log(exception, raising) ⇒ Object



12
13
14
15
16
# File 'lib/raisers/base.rb', line 12

def log(exception, raising)
  return if @logger.nil?

  @logger.debug("Raiser") { "#{"not " unless raising}raising: #{exception.class.name}" }
end