Class BasicMarker
java.lang.Object
org.slf4j.helpers.BasicMarker
- All Implemented Interfaces:
Serializable, Marker
A simple implementation of the
Marker interface.- Author:
- Ceki Gülcü, Joern Huxhorn
- See Also:
-
Field Summary
Fields inherited from interface Marker
ANY_MARKER, ANY_NON_NULL_MARKER -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Markers are now immutable and no longer support children.booleanThis method is mainly used with Expression Evaluators.booleanDeprecated.Markers are now immutable and no longer support children.booleanMarkers are considered equal if they have the same name.getName()Get the name of this Marker.booleanDeprecated.Markers are now immutable and no longer support children.inthashCode()Compute the hash code based on the name of this marker.booleanDeprecated.Markers are now immutable and no longer support children.iterator()Deprecated.Markers are now immutable and no longer support children.booleanDeprecated.Markers are now immutable and no longer support children.toString()
-
Method Details
-
getName
-
add
Deprecated.Markers are now immutable and no longer support children.Description copied from interface:MarkerAdd a reference to another Marker.Note that the fluent API allows adding multiple markers to a logging statement. It is often preferable to use multiple markers instead of nested markers.
-
hasReferences
Deprecated.Markers are now immutable and no longer support children.Description copied from interface:MarkerDoes this marker have any references?- Specified by:
hasReferencesin interfaceMarker- Returns:
- true if this marker has one or more references, false otherwise.
-
hasChildren
Deprecated.Markers are now immutable and no longer support children.- Specified by:
hasChildrenin interfaceMarker
-
iterator
Deprecated.Markers are now immutable and no longer support children.Description copied from interface:MarkerReturns an Iterator which can be used to iterate over the references of this marker. An empty iterator is returned when this marker has no references. -
remove
Deprecated.Markers are now immutable and no longer support children.Description copied from interface:MarkerRemove a marker reference. -
contains
Deprecated.Markers are now immutable and no longer support children.Description copied from interface:MarkerDoes this marker contain a reference to the 'other' marker? Marker A is defined to contain marker B, if A == B or if B is referenced by A, or if B is referenced by any one of A's references (recursively). -
contains
-
equals
-
hashCode
-
toString
-