|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.MarkerManager
public final class MarkerManager
Applications create Markers by using the Marker Manager. All Markers created by this Manager are immutable.
Method Summary | |
---|---|
static Marker |
getMarker(String name)
Retrieve a Marker or create a Marker that has no parent. |
static Marker |
getMarker(String name,
Marker parent)
Retrieves or creates a Marker with the specified parent. |
static Marker |
getMarker(String name,
String parent)
Retrieves or creates a Marker with the specified parent. |
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)
name
- The name of the Marker.
public static Marker getMarker(String name, String parent)
name
- The name of the Marker.parent
- The name of the parent Marker.
IllegalArgumentException
- if the parent Marker does not exist.public static Marker getMarker(String name, Marker parent)
name
- The name of the Marker.parent
- The parent Marker.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |