summaryrefslogtreecommitdiff
path: root/src/Drivers
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-10 11:01:17 +0300
committerGitHub <noreply@github.com>2025-04-10 11:01:17 +0300
commit2da3442173dca286540d62bfe33a956f01ec0acd (patch)
tree2cdfa7fa44143708c3381d6fdadaab792035306d /src/Drivers
parentd226bade3fa35c40f4c242575499f14c470bde91 (diff)
EOL terminate output messages.
Diffstat (limited to 'src/Drivers')
-rw-r--r--src/Drivers/OutputDriver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Drivers/OutputDriver.php b/src/Drivers/OutputDriver.php
index 93c97ba..ca26f53 100644
--- a/src/Drivers/OutputDriver.php
+++ b/src/Drivers/OutputDriver.php
@@ -14,6 +14,6 @@ class OutputDriver implements Driver
*/
public function log(string $serializedMessage): void
{
- file_put_contents('php://output', $serializedMessage);
+ file_put_contents('php://output', $serializedMessage . PHP_EOL);
}
-} \ No newline at end of file
+}