Sha256: 8294a0e17c834af04cdc0d83e370d28941aafe8d260b4e252529722c703cba02

Contents?: true

Size: 235 Bytes

Versions: 9

Compression:

Stored size: 235 Bytes

Contents

module Berkshelf
  Logger = Ridley.logger

  Logger.class_eval do
    alias_method :fatal, :error

    def deprecate(message)
      trace = caller.join("\n\t")
      warn "DEPRECATION WARNING: #{message}\n\t#{trace}"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
berkshelf-2.0.18 lib/berkshelf/logger.rb
berkshelf-2.0.17 lib/berkshelf/logger.rb
berkshelf-2.0.16 lib/berkshelf/logger.rb
berkshelf-2.0.15 lib/berkshelf/logger.rb
berkshelf-2.0.14 lib/berkshelf/logger.rb
berkshelf-2.0.13 lib/berkshelf/logger.rb
berkshelf-2.0.12 lib/berkshelf/logger.rb
berkshelf-2.0.11 lib/berkshelf/logger.rb
berkshelf-2.0.10 lib/berkshelf/logger.rb