We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46b5936 commit 09556b6Copy full SHA for 09556b6
src/app/code/community/FireGento/Logger/Model/JsonStream.php
@@ -76,7 +76,7 @@ protected function _write($event)
76
$eventData = array_filter($eventData, function ($var) { return $var !== null; });
77
$line = @json_encode($eventData);
78
79
- if (false === @fwrite($this->_stream, $line)) {
+ if (false === @fwrite($this->_stream, $line . PHP_EOL)) {
80
//require_once 'Zend/Log/Exception.php';
81
throw new Zend_Log_Exception("Unable to write to stream");
82
}
0 commit comments