public <T> Builder addObjectFormatter(Class<T> objectClass,
                                              ObjectFormatter<? super T> objectFormatter) {
            if (objectFormatters == null) {
                objectFormatters = new HashMap<>(DefaultsFactory.builtinObjectFormatters());
            }
            objectFormatters.put(objectClass, objectFormatter);
            return this;
        }
Add an object formatter for specific class of object when {@link Logger} log an object.

@param objectClass     the class of object
@param objectFormatter the object formatter to add
@param <T>             the type of object
@return the builder
@since 1.1.0
android/android_framework/base/src/main/java/com/elvishew/xlog/Logger.java