Jon Surrell
88836b9cca
Drop WP_DEBUG override threshold. Improve logger tests.
...
This may be unexpected behavior for a user, their level is overridden with no
way to change it. It also greatly complicates testing default thresholds.
Dependency on WC_Log_Handler_File has been removed from logger tests.
2016-12-29 11:58:43 +01:00
Jon Surrell
0bea7e1305
Improve logger tests
2016-12-29 11:58:43 +01:00
Jon Surrell
0389909d88
Improve logger tests
2016-12-29 11:58:43 +01:00
Jon Surrell
2626c5b3af
Accept explicit handlers and threshold in WC_Logger
2016-12-29 11:58:43 +01:00
Jon Surrell
85fa9df7fe
Drop "bubbling" support for logs
...
The concept of bubbling or consuming logs has little benefit for our use case.
Drop support for bubbling and simplify logging.
2016-12-29 11:58:43 +01:00
Jon Surrell
4f77954bc7
Move log levels to independent class
2016-12-29 11:58:43 +01:00
Jon Surrell
60314e5ba1
Fix spelling errors
2016-12-29 11:58:43 +01:00
Jon Surrell
eca10f6362
Explicit use of file log handler for logger tests
2016-12-29 11:58:43 +01:00
Jon Surrell
dd2474fb3c
Rename test file log -> logger
2016-12-29 11:58:42 +01:00