lib/semantic_logger/appender/file.rb in semantic_logger-3.2.0 vs lib/semantic_logger/appender/file.rb in semantic_logger-3.2.1

- old
+ new

@@ -112,10 +112,10 @@ return false unless should_log?(log) # Since only one appender thread will be writing to the file at a time # it is not necessary to protect access to the file with a semaphore # Allow this logger to filter out log levels lower than it's own - @log.write(@formatter.call(log, self) << "\n") + @log.write(formatter.call(log, self) << "\n") true end # Flush all pending logs to disk. # Waits for all sent documents to be writted to disk