Class: Logsy::Store
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- Logsy::Store
- Defined in:
- lib/logsy/store.rb
Overview
Internal per-request / per-job key-value store. Backed by ActiveSupport::CurrentAttributes so it is fiber-local and gets reset automatically by the Rails executor between requests.
Consumers should not access this class directly — use ‘Logsy`, `Logsy = value`, `Logsy.tags`, and `Logsy.reset` instead.
Instance Method Summary collapse
Instance Method Details
#tags ⇒ Object
16 17 18 |
# File 'lib/logsy/store.rb', line 16 def super || (self. = {}) end |