Sha256: 0431d89891c0944fe7db32d5c787a92a147a09924253779f083435f9df65a93b

Contents?: true

Size: 479 Bytes

Versions: 66

Compression:

Stored size: 479 Bytes

Contents

# See https://github.com/heroku/rails_stdout_logging
# I have no idea why this library was created, but most Heroku / Rails apps use it.
# This library completely obliterates any logger configuration you set.
# So this patch fixes that.

begin
  require "rails_stdout_logging"

  module RailsStdoutLogging
    class Rails2 < Rails
      def self.set_logger
      end
    end

    class Rails3 < Rails
      def self.set_logger(config)
      end
    end
  end
rescue Exception
end

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
timber-rails-1.0.1 lib/timber-rails/overrides/rails_stdout_logging.rb
timber-rails-1.0.0 lib/timber-rails/overrides/rails_stdout_logging.rb
timber-2.6.2 lib/timber/overrides/rails_stdout_logging.rb
timber-2.6.1 lib/timber/overrides/rails_stdout_logging.rb
timber-2.6.0 lib/timber/overrides/rails_stdout_logging.rb
timber-2.6.0.pre.beta2 lib/timber/overrides/rails_stdout_logging.rb
timber-2.6.0.pre.beta1 lib/timber/overrides/rails_stdout_logging.rb
timber-2.5.1 lib/timber/overrides/rails_stdout_logging.rb
timber-2.5.0 lib/timber/overrides/rails_stdout_logging.rb
timber-2.4.0 lib/timber/overrides/rails_stdout_logging.rb
timber-2.3.4 lib/timber/overrides/rails_stdout_logging.rb
timber-2.3.3 lib/timber/overrides/rails_stdout_logging.rb
timber-2.3.2 lib/timber/overrides/rails_stdout_logging.rb
timber-2.3.1 lib/timber/overrides/rails_stdout_logging.rb
timber-2.3.0 lib/timber/overrides/rails_stdout_logging.rb
timber-2.2.3 lib/timber/overrides/rails_stdout_logging.rb
timber-2.2.2 lib/timber/overrides/rails_stdout_logging.rb
timber-2.2.1 lib/timber/overrides/rails_stdout_logging.rb
timber-2.2.0 lib/timber/overrides/rails_stdout_logging.rb
timber-2.1.10 lib/timber/overrides/rails_stdout_logging.rb