lib/semantic_logger.rb in semantic_logger-4.0.0 vs lib/semantic_logger.rb in semantic_logger-4.1.0
- old
+ new
@@ -42,8 +42,7 @@
# @formatter:on
# Close and flush all appenders at exit, waiting for outstanding messages on the queue
# to be written first
at_exit do
- # Cannot call #close since test frameworks use at_exit to run loaded tests
- SemanticLogger.flush
+ SemanticLogger.close
end