Sha256: 2751d858cb30915bc41957dab70c83980b0877af96a440812200124eaeef20eb
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
# frozen_string_literal: true module Executo module TaggedLogger extend ActiveSupport::Concern included do def logger_add_tag(tag) return unless tag.present? @logger = logger.tagged(tag) end def logger @logger ||= Executo.logger end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
executo-0.3.12 | lib/executo/tagged_logger.rb |