Output : Ajout date
This commit is contained in:
parent
9df5e0c01c
commit
af9999c518
@ -216,7 +216,7 @@ class FileController extends AbstractActionController
|
||||
}
|
||||
|
||||
/**
|
||||
* flux_fileout
|
||||
* Marqueur de lecture du fichier
|
||||
*/
|
||||
public function readAction()
|
||||
{
|
||||
@ -297,7 +297,7 @@ class FileController extends AbstractActionController
|
||||
}
|
||||
|
||||
if ($prestation === null) {
|
||||
echo date('Y-m-d H:i:s')." - Prestation not found !\n";
|
||||
$this->output("Prestation not found !");
|
||||
}
|
||||
|
||||
$fluxBasePath .= '/' . $repositoryDir;
|
||||
@ -1114,7 +1114,7 @@ class FileController extends AbstractActionController
|
||||
protected function output($line, $verbose = true)
|
||||
{
|
||||
if ($verbose) {
|
||||
$this->console->writeLine($line);
|
||||
$this->console->writeLine(date('Y-m-d H:i:s') . ' - ' . $line);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user