|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slf4j.MarkerFactory
public class MarkerFactory
MarkerFactory is a utility class producing Marker instances as
appropriate for the logging system currently in use.
This class is essentially implemented as a wrapper around an
IMarkerFactory instance bound at compile time.
Please note that all methods in this class are static.
| Method Summary | |
|---|---|
static Marker |
getDetachedMarker(String name)
Create a marker which is detached (even at birth) from the MarkerFactory. |
static IMarkerFactory |
getIMarkerFactory()
Return the IMarkerFactoryinstance in use. |
static Marker |
getMarker(String name)
Return a Marker instance as specified by the name parameter using the previously bound IMarkerFactoryinstance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Marker getMarker(String name)
IMarkerFactoryinstance.
name - The name of the Marker object to return.
public static Marker getDetachedMarker(String name)
name - the name of the marker
public static IMarkerFactory getIMarkerFactory()
IMarkerFactoryinstance in use.
The IMarkerFactory instance is usually bound with this class at compile time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||