public interface IMarkerFactory
Marker
instances.
See the section Implementing the SLF4J API in the FAQ for details on how to make your logging system conform to SLF4J.
Modifier and Type | Method and Description |
---|---|
boolean |
detachMarker(java.lang.String name)
Detach an existing marker.
|
boolean |
exists(java.lang.String name)
Checks if the marker with the name already exists.
|
Marker |
getDetachedMarker(java.lang.String name)
Create a marker which is detached (even at birth) from this IMarkerFactory.
|
Marker |
getMarker(java.lang.String name)
Manufacture a
Marker instance by name. |
Marker getMarker(java.lang.String name)
Marker
instance by name. If the instance has been
created earlier, return the previously created instance.
Null name values are not allowed.
name
- the name of the marker to be created, null value is
not allowed.boolean exists(java.lang.String name)
name
- logger name to check forboolean detachMarker(java.lang.String name)
Note that after a marker is detached, there might still be "dangling" references to the detached marker.
name
- The name of the marker to detachMarker getDetachedMarker(java.lang.String name)
name
- marker nameCopyright © 2010 - 2020 Adobe. All Rights Reserved