( src/logger.php) Within the autoship_log_entry() function and allows devs to perform various actions before the autoship-log directory or logs are created. For example intercept our logging and add it to the wp_debug_log instead.

 * Add a log entry.
 * @param string $context The source or context for the entry
 * @param string $message Log message.
function autoship_log_entry( $context, $message ){

  // Allow logging to be performed separately when Autoship Logging turned off.
  do_action( 'autoship_before_log_entry', $context, $message );

Still need help? Contact Us Contact Us