repo1.maven.org$maven2@org.slf4j$slf4j-api@1.5.2
repo1.maven.org$maven2@org.slf4j$slf4j-api@1.5.2@org$slf4j$Marker.java
file
oh
o
[]
Markers are named objects used to enrich log statements. Conforming logging
system Implementations of SLF4J determine how information conveyed by markers
are used, if at all. In particular, many conforming logging systems ignore
marker data.
Markers can contain child markers, which in turn can contain children of
their own.
This constant represents any marker, including a null marker.
This constant represents any non-null marker.
Get the name of this Marker.
Add a child Marker to this Marker.
- Parameters:
child
a child marker
Remove a child Marker.
- Parameters:
child
the child Marker to remove- Returns:
- true if child could be found and removed, false otherwise.
Does this marker have children?
- Returns:
- true if this marker has children, false otherwise.
Returns an Iterator which can be used to iterate over the children of this
marker. An empty iterator is returned when this marker has no children.
- Returns:
- Iterator over the children of this marker
Does this marker contain the 'other' marker? Marker A is defined to contain
marker B, if A == B or if B is a child of A.
Does this marker contain the marker named 'name'?
If 'name' is null the returned value is always false.
- Parameters:
other
The marker to test for inclusion.- Returns:
- Whether this marker contains the other marker.
Markers are considered equal if they have the same name.
- Parameters:
o- Returns:
- true, if this.name equals o.name
- Since:
- 1.5.1
Compute the hash code based on the name of this marker.
Note that markers are considered equal if they have the same name.
- Returns:
- the computed hashCode
- Since:
- 1.5.1