5 $test = $defect->failedTest();
6 if ( $test !==
null &&
isset( $test->_formattedMediaWikiLogs ) ) {
7 $log = $test->_formattedMediaWikiLogs;
9 $this->write(
"=== Logs generated by test case\n{$log}\n===\n" );
12 parent::printDefectTrace( $defect );