lib/ougai/formatters/bunyan.rb in ougai-1.4.3 vs lib/ougai/formatters/bunyan.rb in ougai-1.4.4

- old
+ new

@@ -1,9 +1,12 @@ require 'ougai/formatters/base' require 'json' module Ougai module Formatters + # A JSON formatter compatible with node-bunyan + # @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