summaryrefslogtreecommitdiffstats
path: root/system/core/Log.php
AgeCommit message (Collapse)AuthorFilesLines
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev1-2/+10
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases.
2014-01-15Fix incorrect checks for the fwrite() return valueAndrey Andreev1-1/+1
! fwrite() could trigger false-positives as it is possible for it to return 0 instead of boolean FALSE. (issue #2822) Also removed an unnecessary log level check that caused an extra space to be inserted for the INFO level. (proposed in PR #2821)
2013-09-14[ci skip] Remove empty linesAndrey Andreev1-1/+1
2013-09-14No need of this anymorevkeranov1-2/+1
2013-09-13Drop the unused parameter from log_message() / CI_Log::write_log()Andrey Andreev1-1/+1
2013-05-07Logging functions: level parameter is not optionalvlakoff1-2/+2
This parameter cannot be optional, as the following parameter is mandatory. Also completed the corresponding documentation.
2013-02-15Fix some stuff from recent pull requestsAndrey Andreev1-7/+17
2013-02-15Revert "Update system/core/Log.php"Chris Passas1-9/+2
This reverts commit bbc6ab4736a896be83e3e3d5f8856374ffa2984c.
2013-02-15Update system/core/Log.phpChris Passas1-1/+1
Added a space after the comma on the ltrim().
2013-02-14Update system/core/Log.phpChris Passas1-1/+4
Don't print no script access code into log file if log file is not .php anymore.
2013-02-14Update system/core/Log.phpChris Passas1-1/+1
Added ltrim() as requested to strip '.' incase it's added by mistake.
2013-02-13Added support for changing the default log file extension from .php to ↵Chris Passas1-0/+2
whatever is preferred. example (.log) This is a follow up to this pull request. https://github.com/EllisLab/CodeIgniter/pull/2243
2013-02-13Update system/core/Log.phpChris Passas1-2/+9
Updated Log.php so that a developer can extend it and change the log file extension. It makes sense to default to .php when logs are in the public web folder.  It would be nice if a developer moves the log file path we have the option to use a standard extension like .log
2013-01-30core comment error.Bo-Yi Wu1-1/+1
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2013-01-21Partially implement PR #2155Andrey Andreev1-0/+2
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-2/+1
2012-11-09Move the Log class to system/core/Andrey Andreev1-0/+181
It is a core class after all, I guess somebody forgot it when the rest of them were moved.