Class: LogStruct::SemanticLogger::FormatterProxy

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/log_struct/semantic_logger/logger.rb

Overview

Proxy object to provide ActiveJob-compatible formatter interface

Instance Method Summary collapse

Instance Method Details

#current_tagsArray<String, Symbol>

Returns:

  • (Array<String, Symbol>)


155
156
157
# File 'lib/log_struct/semantic_logger/logger.rb', line 155

def current_tags
  Thread.current[:activesupport_tagged_logging_tags] || []
end