lib/ougai/formatters/readable.rb in ougai-1.8.3 vs lib/ougai/formatters/readable.rb in ougai-1.8.4

- old
+ new

@@ -2,11 +2,11 @@ require 'ougai/formatters/base' module Ougai module Formatters - # A human readble formatter with awesome_print + # A human readble formatter with amazing_print # @attr [Boolean] plain Whether log should be plain not colorized. # @attr [Array<String, Symbol>] excluded_fields The fields excluded from all logs class Readable < Base attr_accessor :plain, :excluded_fields @@ -85,12 +85,12 @@ return nil if data.empty? data.ai({ plain: @plain }) end def load_dependent - require 'awesome_print' + require 'amazing_print' rescue LoadError - puts 'You must install the awesome_print gem to use this output.' + puts 'You must install the amazing_print gem to use this output.' raise end end end end