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 |
Jon Surrell
|
ad03597a3d
|
Simplify default log entry format
Remove punctuation. Space separate values:
TIMESTAMP LEVEL MESSAGE
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
e722870aa4
|
Fix tests for PHP 5.2
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
8600ccc6de
|
Restructure log tests to own directory
Also moves parent::tearDown to end of tearDown
Fix phpcs problems.
|
2016-12-29 11:58:42 +01:00 |