Sha256: 52446f0d67c6dfbd0cb208f44a6c238644ea58c885a4e526b57893ec74d42a35

Contents?: true

Size: 307 Bytes

Versions: 152

Compression:

Stored size: 307 Bytes

Contents

module Appsignal
  module CarefulLogger
    # Because Capistrano 2's logger uses the term important
    # instead of error.
    def carefully_log_error(message)
      if @logger.respond_to?(:important)
        @logger.important(message)
      else
        @logger.error(message)
      end
    end
  end
end

Version data entries

152 entries across 152 versions & 1 rubygems

Version Path
appsignal-1.1.0.beta.12 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.7 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.6 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.11 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.6.beta.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.10 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.6.beta.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.9 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.6.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.8 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.6.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.5 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.7 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.5.beta.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.5.beta.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.5.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.5.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.6 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.3 lib/appsignal/integrations/capistrano/careful_logger.rb