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.0.3.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.3.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.5 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.1.0.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.2.beta.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.2.beta.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.2.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.2.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.0 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-1.0.0.rc.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.11.18 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.rc.14 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.rc.13 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.rc.12 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.rc.11 lib/appsignal/integrations/capistrano/careful_logger.rb