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
Detach an existing marker.
|
boolean |
exists(String
Checks if the marker with the name already exists.
|
Marker |
getDetachedMarker(String
Create a marker which is detached (even at birth) from this IMarkerFactory.
|
Marker |
getMarker(String
Manufacture a
Marker instance by name.
|
MarkergetMarker(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(Stringname)
name - logger name to check for
boolean detachMarker(Stringname)
Note that after a marker is detached, there might still be "dangling" references to the detached marker.
name - The name of the marker to detach