private static String formatString(String str, Object... args) {
    return String.format(null, str, args);
  }
Sets the logging delegate that overrides the default delegate.

@param delegate the delegate to use
fbcore/src/main/java/com/facebook/common/logging/FLog.java