From 6b1e3f6a7099b3b747dc09b8721b4591510cf1e3 Mon Sep 17 00:00:00 2001 From: Anton Grebnev Date: Tue, 13 Dec 2011 13:51:24 +0400 Subject: [PATCH] reseted a3e0cafb325742eaf39eab0e733a6a5e591b1f31 commit --- logger/CliLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }