diff --git a/logger/CliLogger.php b/logger/CliLogger.php index cfc8e5e..121cda1 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(PHP_EOL), $message); + $message = str_replace(array("\r", "\n"), array('\r', '\n'), $message); $out = microtime(true) . " \t: " . $this->pid . trim($message) . PHP_EOL; print($out); }