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.
2 parents 6a9185a + 9534931 commit bf2b6bbCopy full SHA for bf2b6bb
lib/private/Console/TimestampFormatter.php
@@ -99,6 +99,11 @@ public function getStyle($name) {
99
* log timezone and dateformat, e.g. "2015-06-23T17:24:37+02:00"
100
*/
101
public function format($message) {
102
+ if (!$this->formatter->isDecorated()) {
103
+ // Don't add anything to the output when we shouldn't
104
+ return $this->formatter->format($message);
105
+ }
106
+
107
$timeZone = $this->config->getSystemValue('logtimezone', 'UTC');
108
$timeZone = $timeZone !== null ? new \DateTimeZone($timeZone) : null;
109
0 commit comments