Commit b500a6f 1 parent d81affb commit b500a6f Copy full SHA for b500a6f
File tree 1 file changed +10
-3
lines changed
slf4j-api/src/main/java/org/slf4j
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 33
33
* any markers are used, if at all. Many conforming logging systems ignore marker
34
34
* data entirely.
35
35
*
36
- * <p>Markers can contain references to other markers, which in turn may
37
- * contain references of their own.
36
+ * <p>Markers can contain references to nested markers, which in turn may
37
+ * contain references of their own. Note that the fluent API (new in 2.0) allows adding
38
+ * multiple markers to a logging statement. It is often preferable to use
39
+ * multiple markers instead of nested markers.
40
+ * </p>
38
41
*
39
42
* @author Ceki Gülcü
40
43
*/
@@ -59,7 +62,11 @@ public interface Marker extends Serializable {
59
62
60
63
/**
61
64
* Add a reference to another Marker.
62
- *
65
+ *
66
+ * <p>Note that the fluent API allows adding multiple markers to a logging statement.
67
+ * It is often preferable to use multiple markers instead of nested markers.
68
+ * </p>
69
+ *
63
70
* @param reference
64
71
* a reference to another marker
65
72
* @throws IllegalArgumentException
You can’t perform that action at this time.
0 commit comments