public static function debugf( $message, $args ) {
		$args = array_slice( func_get_args(), 1 );
		if ( count( $args ) == 1 && is_array( $args[0] ) ) {
			$args = $args[0];
		}

		array_unshift( $args, $message );
		$message = call_user_func_array( 'sprintf', $args );
		self::debug( $message );
	}
public static function debugf( $message, $args ) {
		$args = array_slice( func_get_args(), 1 );
		if ( count( $args ) == 1 && is_array( $args[0] ) ) {
			$args = $args[0];
		}

		array_unshift( $args, $message );
		$message = call_user_func_array( 'sprintf', $args );
		self::debug( $message );
	}
public static function debugf ( $ message , $ args ) { $ args = array_slice ( func_get_args ( ) , 1 ) ; if ( count ( $ args ) == 1 && is_array ( $ args [ 0 ] ) ) { $ args = $ args [ 0 ] ; } array_unshift ( $ args , $ message ) ; $ message = call_user_func_array ( 'sprintf' , $ args ) ; self :: debug ( $ message ) ; }
Prints formatted data to screen.

Example:
<pre><code>
<?php

// using multiple arguments
\WPCC\Util\Debug::debugf( 'Here are %s and %s parameters', $first, $second );

// or an array
\WPCC\Util\Debug::debugf( 'Here are %s and %s parameters', array( $first, $second ) );

?>
</code></pre>

@since 1.0.2
@uses sprintf() to build debug message.
@uses \Codeception\Util\Debug::debug() to print data to screen.

@static
@access public
@param string $message The message pattern.
@param type $args
Prints formatted data to screen .