final public static FormattingTuple arrayFormat(final String messagePattern, final Object[] argArray) {
        Throwable throwableCandidate = MessageFormatter.getThrowableCandidate(argArray);
        Object[] args = argArray;
        if (throwableCandidate != null) {
            args = MessageFormatter.trimmedCopy(argArray);
        }
        return arrayFormat(messagePattern, args, throwableCandidate);
    }
Performs a two argument substitution for the 'messagePattern' passed as
parameter.
<p>
For example,

<pre>
MessageFormatter.format(&quot;Hi {}. My name is {}.&quot;, &quot;Alice&quot;, &quot;Bob&quot;);
</pre>

will return the string "Hi Alice. My name is Bob.".

@param messagePattern
         The message pattern which will be parsed and formatted
@param arg1
         The argument to be substituted in place of the first formatting
         anchor
@param arg2
         The argument to be substituted in place of the second formatting
         anchor
@return The formatted message
slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java