Skip to content

Instantly share code, notes, and snippets.

@fearlex
Created March 10, 2019 14:14
Show Gist options
  • Save fearlex/d8dd349402e6bf78a0bacb06923079b7 to your computer and use it in GitHub Desktop.
Save fearlex/d8dd349402e6bf78a0bacb06923079b7 to your computer and use it in GitHub Desktop.
Woocommerce Debugging
$logger = wc_get_logger();
$logger->debug( $VARIABLE_TO_OUTPUT, array( 'source' => 'LOGNAME' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment