autoship_log_entry
(src/logger.php) Within the the new autoship_log_entry() function and allows devs to disable logging based on context and / or error message or disable Autoship logs completely.
/** * 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 ); if ( !apply_filters( 'autoship_log_entry', true, $context, $message ) ) return true; ...