Merge pull request #4553 from DavidIQ/ticket/14885

[ticket/14885] Add a line break when writing to the migrator output file

* DavidIQ/ticket/14885:
  [ticket/14885] Use \n instead of \r for output_handler messages
  [ticket/14885] Add a line break when writing to the migrator output file
This commit is contained in:
Tristan Darricau 2016-12-03 12:36:20 +01:00
commit 9d4c51f8ba
No known key found for this signature in database
GPG key ID: 817043C2E29DB881

View file

@ -94,7 +94,7 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int
$translated_message = '[DEBUG] ' . $translated_message; $translated_message = '[DEBUG] ' . $translated_message;
} }
fwrite($this->file_handle, $translated_message); fwrite($this->file_handle, $translated_message . "\n");
fflush($this->file_handle); fflush($this->file_handle);
} }
} }