stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
300 stars 48 forks source link

Include woocommerce logs? #165

Closed codeagencybe closed 1 year ago

codeagencybe commented 1 year ago

Hello

What is the correct way/method to also log events/errors from WooCommerce?

In WooCommerce> status > logs it gives a list of logs that are not scoped to the rest of errors that are logged into the regular debug.log set in wp-config.php.

How can I also catch also those details to Sentry? Also payment providers are generating a log file for every day with transactional information and status changes for checkouts etc... I would like these also visible in sentry.

Any pointers and example code snippets please?

Thanks!