Sha256: 3a8c7522b4023977c931b31b2c7afea4ffb562a4b78d69c58a5442b10c88ece7

Contents?: true

Size: 280 Bytes

Versions: 23

Compression:

Stored size: 280 Bytes

Contents

require 'cri/command_dsl'
require 'r10k/logging'

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

23 entries across 23 versions & 1 rubygems

Version Path
r10k-1.2.4 lib/r10k/cli/ext/logging.rb
r10k-1.2.3 lib/r10k/cli/ext/logging.rb
r10k-1.2.2 lib/r10k/cli/ext/logging.rb
r10k-1.2.1 lib/r10k/cli/ext/logging.rb
r10k-1.2.0 lib/r10k/cli/ext/logging.rb
r10k-1.2.0rc2 lib/r10k/cli/ext/logging.rb
r10k-1.1.4 lib/r10k/cli/ext/logging.rb
r10k-1.2.0rc1 lib/r10k/cli/ext/logging.rb
r10k-1.1.3 lib/r10k/cli/ext/logging.rb
r10k-1.1.2 lib/r10k/cli/ext/logging.rb
r10k-1.1.1 lib/r10k/cli/ext/logging.rb
r10k-1.1.1rc1 lib/r10k/cli/ext/logging.rb
r10k-1.1.0 lib/r10k/cli/ext/logging.rb
r10k-1.1.0rc1 lib/r10k/cli/ext/logging.rb
r10k-1.0.0 lib/r10k/cli/ext/logging.rb
r10k-1.0.0rc4 lib/r10k/cli/ext/logging.rb
r10k-1.0.0rc3 lib/r10k/cli/ext/logging.rb
r10k-1.0.0rc2 lib/r10k/cli/ext/logging.rb
r10k-1.0.0rc1 lib/r10k/cli/ext/logging.rb
r10k-0.0.9 lib/r10k/cli/ext/logging.rb