document that implementations of the ThreadDumpMessage$ThreadInfoFactory interface are loaded via the Service Loader Interface
@@ -168,6 +168,10 @@ public class ThreadDumpMessage implements Message, StringBuilderFormattable {
/**
* Factory to create Thread information.
+ * <p>
+ * Implementations of this class are loaded via the standard java Service Provider interface.
+ * </p>
+ * @see /log4j-core/src/main/resources/META-INF/services/org.apache.logging.log4j.message.ThreadDumpMessage$ThreadInfoFactory
*/
public static interface ThreadInfoFactory {
Map<ThreadInformation, StackTraceElement[]> createThreadInfo();
