public static void printf(Closure self, String format, Object value) {
        Object owner = getClosureOwner(self);
        Object[] newValues = new Object[2];
        newValues[0] = format;
        newValues[1] = value;
        InvokerHelper.invokeMethod(owner, "printf", newValues);
    }
public static void printf ( Closure self , String format , Object value ) { Object owner = getClosureOwner ( self ) ; Object [ ] newValues = new Object [ 2 ] ; newValues [ 0 ] = format ; newValues [ 1 ] = value ; InvokerHelper . invokeMethod ( owner , "printf" , newValues ) ; }
Printf a value to the standard output stream using a format string.
This method delegates to the owner to execute the method.

@param self   a generated closure
@param format a format string
@param value  value referenced by the format specifier in the format string
@since 3.0.0