Sha256: 352451860133e1d8e5ff3c3b06e6f9bbf912e9dc2a553b483486e4adfa299fd7

Contents?: true

Size: 264 Bytes

Versions: 17

Compression:

Stored size: 264 Bytes

Contents

# Log actual exceptions, not a string representation
ActionView::StreamingTemplateRenderer

class ActionView::StreamingTemplateRenderer
  class Body
    private
    def log_error(exception) #:nodoc:
      ActionView::Base.logger.fatal(exception)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rails_semantic_logger-4.2.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.2.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.1.3 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.1.2 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.1.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.1.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.0.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.0.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.0.0.rc1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.0.0.beta2 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.0.0.beta1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.4.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.4.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.3.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.3.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.1.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-3.1.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb