summaryrefslogtreecommitdiffstats
path: root/system/core/Log.php
AgeCommit message (Collapse)AuthorFilesLines
2015-03-03Remove an unused var in CI_LogAndrey Andreev1-8/+1
Was suggested as part of PR #3630, which was rejected due to numerous other changes
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20Merge pull request #3427 from gadelat/logdateAndrey Andreev1-1/+14
Support for microseconds in CI_Log
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-20Make µs support conditional and fix styleGabriel Potkány1-5/+13
2014-12-19Support for microsecondsGabriel Potkány1-1/+6
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-09-17Don't assume that log_file_permissions existsAndrey Andreev1-1/+1
2014-08-27Fix #2963Andrey Andreev1-9/+21
Changed all file permissions settings throught the framework and the documentation. Also added configuration settings for CI_Log and CI_Image_lib
2014-03-13Partially revert PR #2190Andrey Andreev1-3/+3
The core shouldn't depend on constants that are not defined by itself
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.