vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/logger.rb
def tags
      tags = {}
      context_tags = Lumberjack.context_tags
      tags.merge!(context_tags) if context_tags && !context_tags.empty?
      tags.merge!(@tags) if !@tags.empty? && !thread_local_value(:lumberjack_logger_untagged)
      scope_tags = thread_local_value(:lumberjack_logger_tags)
      tags.merge!(scope_tags) if scope_tags && !scope_tags.empty?
      tags
    end
# Return all tags in scope on the logger including global tags set on the Lumberjack
# context, tags set on the logger, and tags set on the current block for the logger.
Return all tags in scope on the logger including global tags set on the Lumberjack
context, tags set on the logger, and tags set on the current block for the logger.
Return all tags in scope on the logger including global tags set on the Lumberjack context tags set on the logger and tags set on the current block for the logger .
def tags
      tags = {}
      context_tags = Lumberjack.context_tags
      tags.merge!(context_tags) if context_tags && !context_tags.empty?
      tags.merge!(@tags) if !@tags.empty? && !thread_local_value(:lumberjack_logger_untagged)
      scope_tags = thread_local_value(:lumberjack_logger_tags)
      tags.merge!(scope_tags) if scope_tags && !scope_tags.empty?
      tags
    end
def tags tags = { } context_tags = Lumberjack . context_tags tags . merge! ( context_tags ) if context_tags && ! context_tags . empty? tags . merge! ( @tags ) if ! @tags . empty? && ! thread_local_value ( :lumberjack_logger_untagged ) scope_tags = thread_local_value ( :lumberjack_logger_tags ) tags . merge! ( scope_tags ) if scope_tags && ! scope_tags . empty? tags end
Return all tags in scope on the logger including global tags set on the Lumberjack
context, tags set on the logger, and tags set on the current block for the logger.
Return all tags in scope on the logger including global tags set on the Lumberjack context tags set on the logger and tags set on the current block for the logger .