We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74036e4 commit c6f50dbCopy full SHA for c6f50db
2 files changed
src/Logger/Handler/FileHandler.php
@@ -24,6 +24,6 @@ public function __construct(string $filePath)
24
25
public function log(string $message): void
26
{
27
- file_put_contents($this->filePath, $message, FILE_APPEND);
+ file_put_contents($this->filePath, $message . "\n", FILE_APPEND);
28
}
29
src/Logger/Logger.php
@@ -103,6 +103,8 @@ public function endOnHost(Host $host): void
103
if ($this->output->isVeryVerbose()) {
104
$this->output->writeln("<fg=yellow;options=bold>done</> on $host");
105
106
+
107
+ $this->fileLog->log("# done on {$host->getAlias()}");
108
109
110
public function renderException(Throwable $exception, Host $host): void
0 commit comments