/** * Start to customize a {@link Logger} and add an object formatter for specific class of object. * * @param objectClass the class of object * @param objectFormatter the object formatter to add * @param <T> the type of object * @return the {@link Logger.Builder} to build the {@link Logger} * @since 1.1.0 */ public static <T> Logger.Builder addObjectFormatter(Class<T> objectClass, ObjectFormatter<? super T> objectFormatter) { return new Logger.Builder().addObjectFormatter(objectClass, objectFormatter); }