Rodrigo Primo
2a08fa3a7b
Add test to check WC_Log_Handler_DB::delete_logs_before_timestamp() basic functionality
2018-10-11 15:25:12 -03:00
Rodrigo Primo
402144893b
Remove unnecessary code to cleanup tests
...
WP test case cleans the database automatically after each test so there is no need to do it automatically.
2018-10-11 15:11:28 -03:00
Rodrigo Primo
af32bfe329
Fix phpcs violations automatically using phpcbf
2018-10-11 15:10:46 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Jon Surrell
1006fc209e
Fix DB handler tests for default source
2017-01-08 22:15:04 +01: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
080cf8e436
Store log levels as integer representations in database
...
This will allow indexed ordering by severity.
Add WC_Log_Levels::get_severity_level method to translate severity
integers to level strings. The inverse of WC_Log_Levels::get_level_severity.
Add context to tests.
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
dce4e7c21a
Fix misnamed test class
2016-12-29 11:58:42 +01:00
Jon Surrell
05146089cd
Add DB handler tests
2016-12-29 11:58:42 +01:00