lib/semantic_logger/appender/graylog.rb in semantic_logger-3.1.0 vs lib/semantic_logger/appender/graylog.rb in semantic_logger-3.2.0
- old
+ new
@@ -110,11 +110,10 @@
h
end
# Forward log messages
def log(log)
- return false if (level_index > (log.level_index || 0)) ||
- !include_message?(log) # Filtered out?
+ return false unless should_log?(log)
@notifier.notify!(formatter.call(log, self))
true
end