public final class MarkerManager extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.