lib/semantic_logger/logger.rb in semantic_logger-4.7.0 vs lib/semantic_logger/logger.rb in semantic_logger-4.7.1

- old
+ new

@@ -61,22 +61,20 @@ Logger.call_subscribers(log) Logger.processor.log(log) end - private - @processor = nil @subscribers = nil def self.call_subscribers(log) return unless @subscribers @subscribers.each do |subscriber| begin subscriber.call(log) rescue Exception => e - self.class.processor.logger.error("Exception calling :on_log subscriber", e) + processor.logger.error("Exception calling :on_log subscriber", e) end end end end end