Sha256: 9956810a1d69ab0f0bdc84a8a0858c255c80d63576c5d78a98966c48d52fc92c

Contents?: true

Size: 257 Bytes

Versions: 44

Compression:

Stored size: 257 Bytes

Contents

require 'cri/command_dsl'

module Cri
  class CommandDSL
    include R10K::Logging

    def logger
      unless @logger
        @logger = Log4r::Logger.new(@command.name)
        @logger.add R10K::Logging.outputter
      end
      @logger
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
r10k-2.6.9 lib/r10k/cli/ext/logging.rb
r10k-2.6.8 lib/r10k/cli/ext/logging.rb
r10k-2.6.7 lib/r10k/cli/ext/logging.rb
r10k-2.6.6 lib/r10k/cli/ext/logging.rb
r10k-2.6.5 lib/r10k/cli/ext/logging.rb
r10k-3.0.0 lib/r10k/cli/ext/logging.rb
r10k-2.6.4 lib/r10k/cli/ext/logging.rb
r10k-2.6.3 lib/r10k/cli/ext/logging.rb
r10k-2.6.2 lib/r10k/cli/ext/logging.rb
r10k-2.6.1 lib/r10k/cli/ext/logging.rb
r10k-2.6.0 lib/r10k/cli/ext/logging.rb
r10k-2.5.5 lib/r10k/cli/ext/logging.rb
r10k-2.5.4 lib/r10k/cli/ext/logging.rb
r10k-2.5.3 lib/r10k/cli/ext/logging.rb
r10k-2.5.2 lib/r10k/cli/ext/logging.rb
r10k-2.5.1 lib/r10k/cli/ext/logging.rb
r10k-2.4.5 lib/r10k/cli/ext/logging.rb
r10k-2.3.1 lib/r10k/cli/ext/logging.rb
r10k-2.4.4 lib/r10k/cli/ext/logging.rb
r10k-2.5.0 lib/r10k/cli/ext/logging.rb