java.lang.Object
org.seppiko.glf.api.MarkerFactory
MarkerFactory is a utility class producing
Marker instances as appropriate for the
logging system currently in use.- Author:
- Leonard Woo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkergetDetachedMarker(String name) Create a marker which is detached (even at birth) from the MarkerFactory.static IMarkerFactoryReturn theIMarkerFactoryinstance in use.static MarkerReturn a Marker instance as specified by the name parameter using the previously boundIMarkerFactoryinstance.
-
Constructor Details
-
MarkerFactory
public MarkerFactory()
-
-
Method Details
-
getMarker
Return a Marker instance as specified by the name parameter using the previously boundIMarkerFactoryinstance.- Parameters:
name- The name of theMarkerobject to return.- Returns:
- a marker.
-
getDetachedMarker
Create a marker which is detached (even at birth) from the MarkerFactory.- Parameters:
name- the name of the marker.- Returns:
- a dangling marker.
-
getIMarkerFactory
Return theIMarkerFactoryinstance in use.- Returns:
- the IMarkerFactory instance in use.
-