lib/ougai/logger.rb in ougai-1.0.0 vs lib/ougai/logger.rb in ougai-1.1.0
- old
+ new
@@ -7,11 +7,11 @@
def initialize(*args)
super(*args)
@default_message = 'No message'
@exc_key = :err
- @formatter = create_formatter
@with_fields = {}
+ @formatter = create_formatter
end
def debug(message = nil, ex = nil, data = nil, &block)
return true if level > DEBUG
args = block ? yield : [message, ex, data]