lib/semantic_logger.rb in semantic_logger-4.1.0 vs lib/semantic_logger.rb in semantic_logger-4.1.1

- old
+ new

@@ -39,10 +39,11 @@ end end end # @formatter:on -# Close and flush all appenders at exit, waiting for outstanding messages on the queue -# to be written first +# Flush all appenders at exit, waiting for outstanding messages on the queue +# to be written first. at_exit do - SemanticLogger.close + # Cannot close since test frameworks only run at exit, at which point the logging would already be closed. + SemanticLogger.flush end