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-0.12.beta.42 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.41 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.40 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.39 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.38 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.37 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.36 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.35 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.34 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.33 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.32 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.11.15 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.11.14 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.11.14.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.31 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.30 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.29 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.28 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.27 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.12.beta.26 lib/appsignal/integrations/capistrano/careful_logger.rb