summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSharad Soni <sharadrsoni@gmail.com>2019-04-23 23:05:24 +0200
committerGitHub <noreply@github.com>2019-04-23 23:05:24 +0200
commit1c35505d92fd502b6fbfbbdf6f7a462ad92c6273 (patch)
tree143f44b42a891d1148522f00107c0a92c0ed0c66
parent346a59f87e6b72678a492c249fd7284cc3abc9f0 (diff)
Update Log.php
Changed to use PHP_EOL instead of '/r/n'
-rw-r--r--system/core/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index 3f7fc783f..cfc0f36a2 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -253,7 +253,7 @@ class CI_Log {
*/
protected function _format_line($level, $date, $message)
{
- return $level.' - '.$date.' --> '.$message."\r\n";
+ return $level.' - '.$date.' --> '.$message. PHP_EOL;
}
// --------------------------------------------------------------------