We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db7b91 commit de84489Copy full SHA for de84489
src/main/java/org/scijava/log/LogMessage.java
@@ -38,8 +38,18 @@
38
import java.util.Date;
39
import java.util.LinkedList;
40
41
+import org.scijava.event.EventService;
42
+
43
/**
- * LogMessage represents a log message.
44
+ * A log message broadcast by a {@link Logger}.
45
+ * <p>
46
+ * NB: The message is published <em>on the calling thread</em> by
47
+ * {@link Logger#notifyListeners}, <em>not</em> on a dedicated event dispatch
48
+ * thread by the {@link EventService}. This is done to avoid the overhead of the
49
+ * event service's synchronized pub/sub implementation, as well as to avoid
50
+ * potential infinite loops caused by debugging log messages surrounding event
51
+ * publication.
52
+ * </p>
53
*
54
* @author Matthias Arzt
55
*/
0 commit comments