Commit Graph

69 Commits

Author SHA1 Message Date
Mike Jolley 922ba0337f Fix removal and tweak buttons 2016-08-02 14:42:27 +01:00
toddlahman 26353d7099 added remove method to logger class, and delete GeoIP Log button to tools 2016-07-02 23:16:11 -07:00
Mike Jolley a60b03baa9 Log close method. Fixes unit tests. 2016-04-19 16:56:43 +01:00
Mike Jolley f47a1de108 Close file if it's already open before clear 2016-04-19 16:31:36 +01:00
Mike Jolley ab61975357 Tweak returns 2016-04-19 14:00:40 +01:00
toddlahman 6003fb3303 ftruncate failed at times, so fopen() in w mode used instead. 2016-04-15 21:26:19 -07:00
toddlahman 157c50df0a return boolean log add and clear method result 2016-04-12 23:46:30 -07:00
Fredrik Forsmo bb19615029 Improve docblock comments in various WC_* classes
* Added comments to various methods
* Fixed various properties comments and param types
2016-01-06 16:24:47 +01:00
Nicola Mustone c9da4f928a check if ABSPATH is defined 2015-11-06 10:22:19 +01:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Patrick Garman fb84486798 Update WC_Logger to include actions on add & clear methods
This allows for easy integrating with third party logging services.
2015-07-10 14:26:30 -05:00
Alexander Concha 7896b49684 fclose requires a resource, not a string. 2015-06-01 12:58:06 +01:00
Scrutinizer Auto-Fixer 19f660171e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
claudiosmweb 7ca27a8f80 introduces the wc_get_log_file_path() function 2014-05-28 11:08:33 -03:00
Mike Jolley 1ed0938581 [2.2] Log changes Closes #4926
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Coen Jacobs 19688ad9ef Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
Closes #4216
2013-11-27 10:03:47 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00