summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index d651e8abe..3f7fc783f 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -249,11 +249,11 @@ class CI_Log {
* @param string $level The error level
* @param string $date Formatted date string
* @param string $message The log message
- * @return string Formatted log line with a new line character '\n' at the end
+ * @return string Formatted log line with a new line character '\r\n' at the end
*/
protected function _format_line($level, $date, $message)
{
- return $level.' - '.$date.' --> '.$message."\n";
+ return $level.' - '.$date.' --> '.$message."\r\n";
}
// --------------------------------------------------------------------