Sha256: 57ed3134b48312b19416f3e8374fccb195812dea68f40bf2ab5d7286fb2e0ff6
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
Rails::Rack::Logger # Replace rack started message with a semantic equivalent module Rails module Rack class Logger def started_request_message(request) { message: 'Started', payload: { method: request.request_method, path: request.filtered_path, ip: request.ip } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_semantic_logger-4.0.0.beta2 | lib/rails_semantic_logger/extensions/rails/rack/logger.rb |