@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $console_format = $this->configuration->getLoggerConsoleFormat(); |
64 | 64 | $logline = $this->formatter($level, $message, $console_format); |
65 | 65 | list($foreground, $background) = $this->configuration->getColours($level); |
66 | - fwrite($stdout, Colours::setColour($logline, $foreground, $background) . PHP_EOL); |
|
66 | + fwrite($stdout, Colours::setColour($logline, $foreground, $background).PHP_EOL); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | if (($logfile = $this->configuration->getLogfile()) !== null) |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $file_format = $this->configuration->getLoggerFileFormat(); |
77 | 77 | $logline = $this->formatter($level, $message, $file_format); |
78 | 78 | $handle = fopen($logfile, "a+"); |
79 | - fwrite($handle, $logline . PHP_EOL); |
|
79 | + fwrite($handle, $logline.PHP_EOL); |
|
80 | 80 | fclose($handle); |
81 | 81 | } |
82 | 82 | } |