module ActiveJob::Logging

Private Instance Methods

tag_logger(*tags) { || ... } click to toggle source
# File lib/rails_semantic_logger/extensions/active_job/logging.rb, line 11
def tag_logger(*tags, &block)
  if logger.respond_to?(:tagged)
    logger.tagged(*tags, &block)
  else
    yield
  end
end