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.4.3 lib/r10k/cli/ext/logging.rb
r10k-2.4.1 lib/r10k/cli/ext/logging.rb
r10k-2.4.0 lib/r10k/cli/ext/logging.rb
r10k-2.3.0 lib/r10k/cli/ext/logging.rb
r10k-2.2.2 lib/r10k/cli/ext/logging.rb
r10k-2.2.1 lib/r10k/cli/ext/logging.rb
r10k-2.2.0 lib/r10k/cli/ext/logging.rb
r10k-2.1.1 lib/r10k/cli/ext/logging.rb
r10k-2.1.0 lib/r10k/cli/ext/logging.rb
r10k-2.0.3 lib/r10k/cli/ext/logging.rb
r10k-2.0.2 lib/r10k/cli/ext/logging.rb
r10k-2.0.1 lib/r10k/cli/ext/logging.rb
r10k-2.0.0 lib/r10k/cli/ext/logging.rb
r10k-1.5.1 lib/r10k/cli/ext/logging.rb
r10k-1.4.2 lib/r10k/cli/ext/logging.rb
r10k-1.4.1 lib/r10k/cli/ext/logging.rb
r10k-1.4.0 lib/r10k/cli/ext/logging.rb
r10k-1.3.5 lib/r10k/cli/ext/logging.rb
r10k-1.3.4 lib/r10k/cli/ext/logging.rb
r10k-1.3.3 lib/r10k/cli/ext/logging.rb