lib/ougai/formatters/bunyan.rb in ougai-1.5.5 vs lib/ougai/formatters/bunyan.rb in ougai-1.5.6

- old
+ new

@@ -7,11 +7,11 @@ # @attr [Boolean] jsonize Whether log should converts JSON (by default this is on). # @attr [Boolean] with_newline Whether tailing NL should be appended (by default this is on). class Bunyan < Base attr_accessor :jsonize, :with_newline - def initialize - super + def initialize(*args) + super(*args) @jsonize = true @with_newline = true end def call(severity, time, progname, data)