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(String name)
Detach an existing marker.
|
boolean |
exists(String name)
Checks if the marker with the name already exists.
|
Marker |
getDetachedMarker(String name)
Create a marker which is detached (even at birth) from this IMarkerFactory.
|
Marker |
getMarker(String name)
Manufacture a
Marker instance by name. |
boolean detachMarker(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 detachboolean exists(String name)
name
- logger name to check forMarker getDetachedMarker(String name)
name
- marker nameMarker getMarker(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.