Class: Gitlab::GrapeLogging::Loggers::CloudflareLogger

Inherits:
GrapeLogging::Loggers::Base
  • Object
show all
Includes:
Logging::CloudflareHelper
Defined in:
lib/gitlab/grape_logging/loggers/cloudflare_logger.rb

Constant Summary

Constants included from Logging::CloudflareHelper

Logging::CloudflareHelper::CLOUDFLARE_CUSTOM_HEADERS

Instance Method Summary collapse

Methods included from Logging::CloudflareHelper

#store_cloudflare_headers!, #valid_cloudflare_header?

Instance Method Details

#parameters(request, _response) ⇒ Object


9
10
11
12
13
14
# File 'lib/gitlab/grape_logging/loggers/cloudflare_logger.rb', line 9

def parameters(request, _response)
  data = {}
  store_cloudflare_headers!(data, request)

  data
end