Class: Gitlab::GrapeLogging::Loggers::CorrelationIdLogger

Inherits:
GrapeLogging::Loggers::Base
  • Object
show all
Defined in:
lib/gitlab/grape_logging/loggers/correlation_id_logger.rb

Instance Method Summary collapse

Instance Method Details

#parameters(_, _) ⇒ Object



8
9
10
# File 'lib/gitlab/grape_logging/loggers/correlation_id_logger.rb', line 8

def parameters(_, _)
  { Labkit::Correlation::CorrelationId::LOG_KEY => Labkit::Correlation::CorrelationId.current_id }
end