lib/ougai/logging.rb in ougai-1.2.0 vs lib/ougai/logging.rb in ougai-1.3.0

- old
+ new

@@ -1,8 +1,9 @@ module Ougai module Logging attr_accessor :with_fields + attr_writer :before_log def debug(message = nil, ex = nil, data = nil, &block) return true if level > Logger::DEBUG args = block ? yield : [message, ex, data] append(Logger::DEBUG, args) @@ -39,10 +40,10 @@ def child(fields = {}) ChildLogger.new(self, fields) end - def chain(severity, args, fields) + def chain(_severity, _args, _fields, _hooks) raise NotImplementedError end protected