lib/semantic_logger/formatters/syslog.rb in semantic_logger-3.4.1 vs lib/semantic_logger/formatters/syslog.rb in semantic_logger-4.0.0.beta1

- old
+ new

@@ -86,10 +86,10 @@ def initialize(options = {}) options = options.dup @options = options.delete(:options) || (::Syslog::LOG_PID | ::Syslog::LOG_CONS) @facility = options.delete(:facility) || ::Syslog::LOG_USER @level_map = DEFAULT_LEVEL_MAP.dup - if level_map = options.delete(:level_map) + if level_map = options.delete(:level_map) @level_map.update(level_map) end # Time is already part of Syslog packet options[:time_format] = nil unless options.has_key?(:time_format) super(options)