feat: add date and time on importer log #457
This commit is contained in:
parent
63c3693e7e
commit
aa914c1380
|
@ -345,10 +345,10 @@ abstract class Importer {
|
||||||
* @param $messagelog
|
* @param $messagelog
|
||||||
*/
|
*/
|
||||||
public function add_log($message ){
|
public function add_log($message ){
|
||||||
$this->log[] = $message;
|
$this->log[] = '[' . date("Y-m-d H:i:s") . '] ' . $message;
|
||||||
}
|
}
|
||||||
public function add_error_log($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) {
|
public function add_collection(array $collection) {
|
||||||
|
|
Loading…
Reference in New Issue