Log4j 1.1.3

Uses of Class
org.apache.log4j.Category

Packages that use Category
org.apache.log4j The main package of log4j.  
org.apache.log4j.config Package used in getting/setting component properties. 
org.apache.log4j.examples Example usage of log4j including source code.  
org.apache.log4j.examples.appserver This package extends log4j by adding extra logging attributes useful in distributed application server environments.  
org.apache.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j. 
org.apache.log4j.xml XML based components.  
org.apache.log4j.xml.examples Example usage of log4j with XML (including source code).  
 

Uses of Category in org.apache.log4j
 

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

Methods in org.apache.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)
          Retrieve a category with named as the name parameter.
static Category Category.getInstance(Class clazz)
          Shorthand for getInstance(clazz.getName()).
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 hierarchy.
 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.apache.log4j with parameters of type Category
Hierarchy(Category root)
          Create a new Category hierarchy.
 

Uses of Category in org.apache.log4j.config
 

Methods in org.apache.log4j.config with parameters of type Category
protected  void PropertyPrinter.printOptions(PrintWriter out, Category cat)
           
 

Uses of Category in org.apache.log4j.examples
 

Subclasses of Category in org.apache.log4j.examples
 class MyCategory
          A simple example showing category subclassing.
 

Methods in org.apache.log4j.examples that return Category
 Category MyCategoryFactory.makeNewCategoryInstance(String name)
           
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.apache.log4j.examples.appserver
 

Subclasses of Category in org.apache.log4j.examples.appserver
 class AppServerCategory
          Extends Category by adding four text attributes relevant to applications applications run in application servers.
 

Methods in org.apache.log4j.examples.appserver that return Category
static Category AppServerCategory.getInstance(String name)
          Return an AppServerCategory instance with the provided name.
 Category AppServerCategoryFactory.makeNewCategoryInstance(String name)
          Create a new instance of AppServerCategory using the information contained in this instance.
 

Uses of Category in org.apache.log4j.spi
 

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

Fields in org.apache.log4j.spi declared as Category
 Category LoggingEvent.category
          The category of the logging event.
 

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

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

Uses of Category in org.apache.log4j.xml
 

Methods in org.apache.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.apache.log4j.xml.examples
 

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

Methods in org.apache.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.
static Category XCategory.getInstance(Class clazz)
          This method overrides getInstance(Class) by supplying its own factory type as a parameter.
 Category XCategory.XFactory.makeNewCategoryInstance(String name)
           
 


Log4j 1.1.3

Please notify me about new log4j releases.