void (@NotNull Throwable t) { TestLoggerFactory factory = getTestLoggerFactory(); if (factory != null) { String comparisonFailures = dumpComparisonFailures(t); String message = comparisonFailures != null ? "test failed: " + comparisonFailures : "Test failed"; factory.buffer(LogLevel.ERROR, "#TestFramework", message, t); } }