|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Marker
Markers are objects that are used to add easily filterable information to log messages. Markers can be hierarchical - each Marker may have a parent. This allows for broad categories being subdivided into more specific categories. An example might be a Marker named "Error" with children named "SystemError" and "ApplicationError".
Method Summary | |
---|---|
String |
getName()
Returns the name of this Marker. |
Marker |
getParent()
Returns the parent of this Marker. |
boolean |
isInstanceOf(Marker m)
Checks whether this Marker is an instance of the specified Marker. |
boolean |
isInstanceOf(String name)
Checks whether this Marker is an instance of the specified Marker. |
Method Detail |
---|
String getName()
Marker getParent()
boolean isInstanceOf(Marker m)
m
- The Marker to check.
boolean isInstanceOf(String name)
name
- The name of the Marker.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2013 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.