Package org.slf4j
Interface IMarkerFactory
- All Known Implementing Classes:
BasicMarkerFactory
public interface IMarkerFactory
Implementations of this interface are used to manufacture
Marker
instances.
See the section Implementing the SLF4J API in the FAQ for details on how to make your logging system conform to SLF4J.
- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionbooleandetachMarker(String name) Detach an existing marker.booleanChecks if the marker with the name already exists.getDetachedMarker(String name) Create a marker which is detached (even at birth) from this IMarkerFactory.Manufacture aMarkerinstance by name.
-
Method Details
-
getMarker
-
exists
-
detachMarker
Detach an existing marker.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
-
getDetachedMarker
Create a marker which is detached (even at birth) from this IMarkerFactory.- Parameters:
name- marker name- Returns:
- a dangling marker
- Since:
- 1.5.1
-