Searched refs:appendNewline (Results 1 – 4 of 4) sorted by relevance
33 protected $appendNewline; variable in Monolog\\Formatter\\JsonFormatter42 …public function __construct(int $batchMode = self::BATCH_MODE_JSON, bool $appendNewline = true, bo… argument45 $this->appendNewline = $appendNewline;69 return $this->appendNewline;94 return $this->toJson($normalized, true) . ($this->appendNewline ? "\n" : '');142 $oldNewline = $this->appendNewline;143 $this->appendNewline = false;147 $this->appendNewline = $oldNewline;
25 …public function __construct(int $batchMode = self::BATCH_MODE_NEWLINES, bool $appendNewline = fals… argument27 parent::__construct($batchMode, $appendNewline);
590 * @param bool $appendNewline Append a newline to the snippet? (default: false)594 private function prepare($text, $bonus = 0, $prependNewline = true, $appendNewline = false) argument600 if ($appendNewline) {
428 * Added $appendNewline flag to the JsonFormatter to enable using it when logging to files