org.slf4j
public interface IMarkerFactory
See the section Implementing the SLF4J API in the FAQ for details on how to make your logging system conform to SLF4J.
Method Summary | |
---|---|
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. |
Note that after a marker is detached, there might still be "dangling" references to the detached marker.
Parameters: name The name of the marker to detach
Returns: whether the marker could be detached or not
Returns: true id the marker exists, false otherwise.
Returns: a dangling marker
Since: 1.5.1
Null name values are not allowed.
Parameters: name the name of the marker to be created, null value is not allowed.
Returns: a Marker instance