Rodrigo Primo
|
3d93e5d545
|
PHPCS fixes in includes/log-handlers/class-wc-log-handler-email.php
|
2018-03-07 10:49:32 -03:00 |
Rodrigo Primo
|
ea93fca4ff
|
Fix PHPCS violations in includes/log-handlers/ using phpcbf
|
2018-03-07 10:30:00 -03:00 |
Rasmus Bengtsson
|
185934fad9
|
Fix phpdoc to include params and correct types
|
2017-05-15 13:50:52 +02:00 |
Jon Surrell
|
a33fac966d
|
Use plural in multiple log email
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
fbd91fe376
|
Improve email handler subject
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
2ae1bc1ab2
|
Protect methods
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
fe837c5113
|
Aggregate email handler messages (max: 1 email/request/handler)
Update emails accordingly.
Update email handler tests.
|
2016-12-29 11:58:43 +01:00 |
Jonathan Surrell
|
4318b3aa53
|
Improve @return signature on WC_Log_Handler::handle
Make meaning of returned bool explicit.
Update WC_Log_Handler_Email::handle accordingly.
via https://github.com/woocommerce/woocommerce/pull/12575#pullrequestreview-12381573
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
78e6cb31a7
|
Include WC_Log_Handler with other abstracts
|
2016-12-29 11:58:43 +01:00 |
Jon Surrell
|
825d9c9f82
|
Fix spelling
|
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
|
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
|
f761183363
|
Update @package for log handlers
|
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
|
75c3e5e8c6
|
Fix phpcs warning
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
611577320f
|
Include site name in log email message
Suggestion via https://github.com/woocommerce/woocommerce/pull/12340#discussion_r88213040
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
f0508a0fc6
|
Improve log email message format.
Suggestion via https://github.com/woocommerce/woocommerce/pull/12340#pullrequestreview-8895028
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
e4c08aa03a
|
Remove optional from required log handler context array
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
722b288b79
|
Remove _ from private/protected properties
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
36873e5097
|
Provide basic messages for email log handler
|
2016-12-29 11:58:42 +01:00 |
Jon Surrell
|
479ef85cd8
|
Add email log handler
|
2016-12-29 11:58:42 +01:00 |