Sha256: 3efd7c45d80440380435250733082539c859f474f163d9d27365a75e768a989d

Contents?: true

Size: 305 Bytes

Versions: 37

Compression:

Stored size: 305 Bytes

Contents

module Appsignal
  module CarefulLogger
    # Because Capistrano'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

37 entries across 37 versions & 1 rubygems

Version Path
appsignal-0.8.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.1.beta.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.1.beta.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.1.beta.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.1.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.1.beta.0 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.0 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.0.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.0.beta.0 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.8.0.alpha.0 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.1.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.0.beta.1 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.0.alpha.4 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.0.alpha.3 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.0.alpha.2 lib/appsignal/integrations/capistrano/careful_logger.rb
appsignal-0.7.0.alpha.1 lib/appsignal/integrations/capistrano/careful_logger.rb