getLog(); if ( $log ) { $this->write( "=== Logs generated by test case\n{$log}\n===\n" ); } parent::printDefectTrace( $defect ); } }