Wc Logging

Add production-safe WooCommerce logs with `wc_get_logger()`. Covers stable sources, severity levels and thresholds, structured JSON context, correlation IDs, sensitive-data redaction, WooCommerce 11.0 file-v2 formatting and batched retention cleanup, volume control, custom handlers, and why logs are not durable business state. Use when adding diagnostics to gateways, webhooks, background jobs, imports, REST endpoints, or order integrations.

Lonsdale201 Updated

File contents

Lonsdale201/wp-agent-skills/tree/main/woocommerce/wc-logging commit 4e7bbc1b9e

Frequently asked questions

npx skillmds@latest add lonsdale201/wc-logging