Add run number to logs

[MAILPOET-5568]
This commit is contained in:
Jan Jakes
2023-09-05 15:34:06 +02:00
committed by Aschepikov
parent ef97e4d05a
commit 864cc2b01d
5 changed files with 40 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ class StepRunLoggerFactory {
$this->hooks = $hooks;
}
public function createLogger(int $runId, string $stepId, string $stepType): StepRunLogger {
return new StepRunLogger($this->automationRunLogStorage, $this->hooks, $runId, $stepId, $stepType);
public function createLogger(int $runId, string $stepId, string $stepType, int $runNumber): StepRunLogger {
return new StepRunLogger($this->automationRunLogStorage, $this->hooks, $runId, $stepId, $stepType, $runNumber);
}
}