Method: ActiveSupport::TaggedLogging::Formatter#tag_stack

Defined in:
activesupport/lib/active_support/tagged_logging.rb

#tag_stackObject



55
56
57
58
59
# File 'activesupport/lib/active_support/tagged_logging.rb', line 55

def tag_stack
  # We use our object ID here to avoid conflicting with other instances
  @thread_key ||= "activesupport_tagged_logging_tags:#{object_id}"
  IsolatedExecutionState[@thread_key] ||= TagStack.new
end