diff options
author | Sai Phaninder Reddy Jonnala <sai.jonnala@gopassport.com> | 2015-12-21 18:27:40 +0100 |
---|---|---|
committer | Sai Phaninder Reddy Jonnala <sai.jonnala@gopassport.com> | 2015-12-21 18:27:40 +0100 |
commit | 3ac1fd1af92a1d45f9624fff99f5e0692c59d7c6 (patch) | |
tree | 9d7a168f64e1952a02f8afd634c748a61cf06ae6 /system/core/Log.php | |
parent | db68d401f67496ba5e495dd36adabe6d85187b44 (diff) |
fixing my blatant mistakes in styling the code
Diffstat (limited to 'system/core/Log.php')
-rw-r--r-- | system/core/Log.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/core/Log.php b/system/core/Log.php index cf2793a56..0e1f7e2ac 100644 --- a/system/core/Log.php +++ b/system/core/Log.php @@ -234,13 +234,13 @@ class CI_Log { * If you want to change the log format, * extend the CI_Log class and override this method. * - * @param $level - * @param $date - * @param $msg - * - * @return string formatted log line with a new line character '\n' at the end. + * @param string the error level: 'error', 'debug' or 'info' + * @param string formatted date string + * @param string the log message + * @return string formatted log line with a new line character '\n' at the end. */ - protected function _format_log_line($level, $date, $msg){ + protected function _format_log_line($level, $date, $msg) + { return $level.' - '.$date.' --> '.$msg."\n"; } } |