lib/semantic_logger/subscriber.rb in semantic_logger-4.6.1 vs lib/semantic_logger/subscriber.rb in semantic_logger-4.7.0

- old
+ new

@@ -43,14 +43,15 @@ end # Give each appender its own logger for logging. # For example trace messages sent to services or errors when something fails. def logger - @logger ||= begin - logger = SemanticLogger::Processor.logger.clone - logger.name = self.class.name - logger - end + @logger ||= + begin + logger = SemanticLogger::Processor.logger.clone + logger.name = self.class.name + logger + end end # Set the formatter from Symbol|Hash|Block def formatter=(formatter) @formatter =