Sha256: c4e9a0dad8a83a1de52771f6614724023feaac4214abe2edc164301ab5440b94

Contents?: true

Size: 316 Bytes

Versions: 17

Compression:

Stored size: 316 Bytes

Contents

# Replace rack started message with a semantic equivalent
class Rails::Rack::Logger # rubocop:disable ClassAndModuleChildren
  def started_request_message(request)
    {
      message: "Started",
      method:  request.request_method,
      path:    request.filtered_path,
      ip:      request.ip,
    }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sapience-0.2.4 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.2.3 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.2.2 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.2.1 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.2.0 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.13 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.12 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.11 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.10 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.9 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.8 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.7 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.6 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.5 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.4 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.3 lib/sapience/extensions/rails/rack/logger.rb
sapience-0.1.2 lib/sapience/extensions/rails/rack/logger.rb