Sha256: 7ade54600b7d919d3f367ee7b2b863f169c9af1875fa331554591c23185fd484

Contents?: true

Size: 223 Bytes

Versions: 17

Compression:

Stored size: 223 Bytes

Contents

module Appsignal
  module CarefulLogger
    def carefully_log_error(message)
      if @logger.respond_to?(:important)
        @logger.important(message)
      else
        @logger.error(message)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
appsignal-0.6.7 lib/appsignal/careful_logger.rb
appsignal-0.6.6 lib/appsignal/careful_logger.rb
appsignal-0.6.5 lib/appsignal/careful_logger.rb
appsignal-0.6.4 lib/appsignal/careful_logger.rb
appsignal-0.6.3 lib/appsignal/careful_logger.rb
appsignal-0.6.3.beta.3 lib/appsignal/careful_logger.rb
appsignal-0.6.3.beta.2 lib/appsignal/careful_logger.rb
appsignal-0.6.3.beta.1 lib/appsignal/careful_logger.rb
appsignal-0.6.2 lib/appsignal/careful_logger.rb
appsignal-0.6.1 lib/appsignal/careful_logger.rb
appsignal-0.6.0.beta.2 lib/appsignal/careful_logger.rb
appsignal-0.6.0.beta.1 lib/appsignal/careful_logger.rb
appsignal-0.5.5 lib/appsignal/careful_logger.rb
appsignal-0.5.3 lib/appsignal/careful_logger.rb
appsignal-0.5.1 lib/appsignal/careful_logger.rb
appsignal-0.5.0 lib/appsignal/careful_logger.rb
appsignal-0.4.7 lib/appsignal/careful_logger.rb