Sha256: 7a2ebb3f6ebcb71416f03e3312789dc79c313ef7ac8c9b03236111426d2f359b

Contents?: true

Size: 206 Bytes

Versions: 78

Compression:

Stored size: 206 Bytes

Contents

module Berkshelf
  module Mixin
    module Logging
      attr_writer :logger

      def logger
        @logger ||= Berkshelf::Logger.new(STDOUT)
      end
      alias_method :log, :logger
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
berkshelf-8.0.15 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.13 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.12 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.9 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.7 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.5 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.2 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.1 lib/berkshelf/mixin/logging.rb
berkshelf-8.0.0 lib/berkshelf/mixin/logging.rb
berkshelf-7.2.2 lib/berkshelf/mixin/logging.rb
berkshelf-7.2.1 lib/berkshelf/mixin/logging.rb
berkshelf-7.2.0 lib/berkshelf/mixin/logging.rb
berkshelf-7.1.0 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.10 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.9 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.8 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.7 lib/berkshelf/mixin/logging.rb
berkshelf-6.3.4 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.6 lib/berkshelf/mixin/logging.rb
berkshelf-7.0.5 lib/berkshelf/mixin/logging.rb