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. |
Marker 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.boolean exists(String name)
name
- logger name to check forboolean 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 detachCopyright © 2016 JBoss by Red Hat. All rights reserved.