summaryrefslogtreecommitdiffstats
path: root/system/core/Log.php
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Merge pull request #5744 from sharadrsoni/patch-1Andrey Andreev1-2/+2
Adding support for proper CRLF
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT1-3/+3
Update copyright date to 2019
2018-01-09[ci skip] Merge pull request #5376 from jim-parry/copyright-updateAndrey Andreev1-2/+2
Annual copyright update Conflicts resolved: system/libraries/Cache/drivers/Cache_apcu.php
2017-01-19More byte-safetyAndrey Andreev1-5/+5
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-10-28Improve byte-safetyAndrey Andreev1-2/+51
2016-05-20Merge pull request #4638 from kasimtan/phpdoc_fixesAndrey Andreev1-1/+1
[ci skip] Fixed PHPDoc parameter name and type discrepancies
2016-03-01[ci skip] Move flock() call in CI_Log::write_log() immediately after fopen()Andrey Andreev1-2/+2
2016-02-09Merge pull request #4323 from ↵Andrey Andreev1-3/+20
jspreddy/sai/log_line_formatting_extensibility_change Refactored CI_Log line formatting to allow extensibility
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
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.