Thanks to visit codestin.com Credit goes to github.com
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 a70414a commit 53a637cCopy full SHA for 53a637c
src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php
@@ -36,8 +36,9 @@ abstract class AbstractStream
36
public function write(string $bytes, bool $debug = true): void
37
{
38
if ($debug) {
39
+ $timestamp = date('c');
40
foreach (explode("\n", trim($bytes)) as $line) {
- $this->debug .= sprintf("> %s\n", $line);
41
+ $this->debug .= sprintf("[%s] > %s\n", $timestamp, $line);
42
}
43
44
@@ -91,7 +92,7 @@ public function readLine(): string
91
92
93
94
- $this->debug .= sprintf('< %s', $line);
95
+ $this->debug .= sprintf('[%s] < %s', date('c'), $line);
96
97
return $line;
98
0 commit comments