Module: ActiveSupport::TaggedLogging
- Extended by:
- T::Sig
- Defined in:
- lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb
Defined Under Namespace
Modules: FormatterExtension
Class Method Summary collapse
-
.current_tags ⇒ Array<String, Symbol>
Add class-level current_tags method for compatibility with Rails code that expects to call ActiveSupport::TaggedLogging.current_tags Use thread-local storage directly like Rails does internally.
Class Method Details
.current_tags ⇒ Array<String, Symbol>
Add class-level current_tags method for compatibility with Rails code that expects to call ActiveSupport::TaggedLogging.current_tags Use thread-local storage directly like Rails does internally
17 18 19 |
# File 'lib/log_struct/monkey_patches/active_support/tagged_logging/formatter.rb', line 17 def self. Thread.current[:activesupport_tagged_logging_tags] || [] end |