<?php declare(strict_types=1);

namespace Newland\Toubiz\Sync\Neos\Logging;

use Monolog\Formatter\JsonFormatter;

class SingleLineJsonFormatter extends JsonFormatter
{

    public function format(array $record): string
    {
        return str_replace("\n", '', parent::format($record)) . "\n";
    }

}
