diff --git a/logger/CliLogger.php b/logger/CliLogger.php index 121cda1..cfc8e5e 100644 --- a/logger/CliLogger.php +++ b/logger/CliLogger.php @@ -13,7 +13,7 @@ class CliLogger extends Logger protected function concreteLog($message) { // Заменяем окончания строк на их символы - $message = str_replace(array("\r", "\n"), array('\r', '\n'), $message); + $message = str_replace(array("\r\n"), array(PHP_EOL), $message); $out = microtime(true) . " \t: " . $this->pid . trim($message) . PHP_EOL; print($out); }