public static function p($str, $args = false)
    {
        if (self::$_debug === true || ApiConfig::get('debug') === true) {
            // first call
            if (self::$_debug === false) {
                self::$_debug = true;
            }

            if ($args !== false) {
                $str .= ', dump: ' . var_export($args, true);
            }

            $str .= ".\n";

            print_r('> ' . $str);
        }
    }
public static function p($str, $args = false)
    {
        if (self::$_debug === true || ApiConfig::get('debug') === true) {
            // first call
            if (self::$_debug === false) {
                self::$_debug = true;
            }

            if ($args !== false) {
                $str .= ', dump: ' . var_export($args, true);
            }

            $str .= ".\n";

            print_r('> ' . $str);
        }
    }
public static function p ( $ str , $ args = false ) { if ( self :: $ _debug === true || ApiConfig :: get ( 'debug' ) === true ) { // first call if ( self :: $ _debug === false ) { self :: $ _debug = true ; } if ( $ args !== false ) { $ str .= ', dump: ' . var_export ( $ args , true ) ; } $ str .= ".\n" ; print_r ( '> ' . $ str ) ; } }
Print debug message

@param   string $str Debug message
@param   array $args (Optional) Value to dump
@static
@access  public
@return  void
Print debug message