feat: add date and time on importer log #457

This commit is contained in:
vnmedeiros 2021-03-17 12:18:04 -03:00
parent 63c3693e7e
commit aa914c1380
1 changed files with 2 additions and 2 deletions

View File

@ -345,10 +345,10 @@ abstract class Importer {
* @param $messagelog
*/
public function add_log($message ){
$this->log[] = $message;
$this->log[] = '[' . date("Y-m-d H:i:s") . '] ' . $message;
}
public function add_error_log($message ){
$this->error_log[] = $message;
$this->error_log[] = '[' . date("Y-m-d H:i:s") . '] ' . $message;
}
public function add_collection(array $collection) {