Log4j 0.9.1

Uses of Class
org.log4j.Category

Packages that use Category
org.log4j The main package of log4j. 
org.log4j.examples Example usage of log4j including source code. 
org.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j. 
org.log4j.xml XML based components. 
org.log4j.xml.examples Example usage of log4j with XML (including source code). 
 

Uses of Category in org.log4j
 

Fields in org.log4j declared as Category
protected  Category Category.parent
          The parent of this category.
 

Methods in org.log4j that return Category
static Category Category.exists(String name)
          If the named category exists (in the default hierarchy) then it returns a reference to the category, otherwise it returns null.
static Category Category.getInstance(String name)
          Instantiate a category with name name.
static Category Category.getInstance(String name, CategoryFactory factory)
          Like getInstance(String) except that the type of category instantiated depends on the type returned by the CategoryFactory.makeNewCategoryInstance(java.lang.String) method of the factory parameter.
static Category Category.getRoot()
          Return the root of the default category hierrachy.
 Category Hierarchy.exists(String name)
          Check if the named category exists in the hirarchy.
 Category Hierarchy.getInstance(String name)
          Return a new category instance named as the first parameter using the default factory.
 Category Hierarchy.getInstance(String name, CategoryFactory factory)
          Return a new category instance named as the first parameter using factory.
 Category Hierarchy.getRoot()
          Get the root of this hierarchy.
 

Constructors in org.log4j with parameters of type Category
Hierarchy(Category root)
          Create a new Category hierarchy.
 

Uses of Category in org.log4j.examples
 

Subclasses of Category in org.log4j.examples
 class MyCategory
          A simple example showing Category sub-classing.
 

Methods in org.log4j.examples that return Category
static Category MyCategory.getInstance(String name)
          This method overrides getInstance(java.lang.String) by supplying its own factory type as a parameter.
 

Uses of Category in org.log4j.spi
 

Subclasses of Category in org.log4j.spi
 class RootCategory
          RootCategory sits at the top of the category hierachy.
 

Methods in org.log4j.spi that return Category
 Category CategoryFactory.makeNewCategoryInstance(String name)
           
 

Constructors in org.log4j.spi with parameters of type Category
LoggingEvent(String fqnOfCategoryClass, Category category, Priority priority, String message, Throwable throwable)
          Instantiate a LoggingEvent from the supplied parameters.
 

Uses of Category in org.log4j.xml
 

Methods in org.log4j.xml with parameters of type Category
protected  void DOMConfigurator.parseChildrenOfCategoryElement(org.w3c.dom.Element catElement, Category cat, boolean isRoot)
          Used internally to parse the children of a category element.
protected  void DOMConfigurator.parsePriority(org.w3c.dom.Element element, Category cat, boolean isRoot)
          Used internally to parse a priority element.
 

Uses of Category in org.log4j.xml.examples
 

Subclasses of Category in org.log4j.xml.examples
 class XCategory
          A simple example showing Category sub-classing.
 

Methods in org.log4j.xml.examples that return Category
static Category XCategory.getInstance(String name)
          This method overrides getInstance(java.lang.String) by supplying its own factory type as a parameter.
 


Log4j 0.9.1

Please notify me about new log4j releases.