Gerhard Potgieter
|
bc3c780b92
|
PHPCS fixes
|
2018-07-09 13:04:16 +02:00 |
Gerhard Potgieter
|
1fdcf2a238
|
Fix log file deletion functionality.
|
2018-07-09 13:01:23 +02:00 |
claudiulodro
|
9c1179856d
|
Update unit tests
|
2018-05-01 09:32:29 -07:00 |
Claudio Sanches
|
59c2849736
|
Changed version 2.7 to 3.0
|
2017-03-15 13:36:53 -03:00 |
Jon Surrell
|
e4d5886427
|
Replace log `tag` with log `source`
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
5700043e6d
|
Deprecate wc_get_log_file_path
wc_get_log_file_path moves into `WC_Log_Handler_File` class as a static
method.
Update deprecations and version info.
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
ffd0d380ee
|
Remove threshold logic from handlers.
Email handler implements threshold logic internally. Other handlers handle all logs received.
Handler constructors have changed.
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
0f13cca921
|
Use autoloader for log handlers
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
ceea56e323
|
Add test for multiple file log handlers writing to same file.
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
b6304cbcc4
|
Prefer "unit-tests" tag for testing log handler
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
822981c009
|
Improve handle signature
The signature of WC_Log_Handler::handle mirrors log messages which is more intuitive.
Method docblocks have also been improved and are more complete.
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
e7d6a9a48b
|
Rotate logs
WC_Log_Handler_File now includes log rotation.
Add and improve tests.
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
7359cca4a9
|
Add specific file log handler tests
|
2016-12-29 11:58:42 +01:00 |