<?php

namespace Pagon\Logger;

class Console extends LoggerInterface
{
    protected $options = array(
        'auto_write' => true
    );

    public function write()
    {
        if (empty($this->messages)) return;

        print join("\n", $this->buildAll()) . "\n";
    }
}
<?php

namespace Pagon\Logger;

class Console extends LoggerInterface
{
    protected $options = array(
        'auto_write' => true
    );

    public function write()
    {
        if (empty($this->messages)) return;

        print join(PHP_EOL, $this->buildAll()) . PHP_EOL;
    }
}
Use same PHP_EOL for line ending
Use same PHP_EOL for line ending
