added support to new woocommerce logger api