Log4j Version 1.2.7: Uses of Class org.apache.log4j.Category

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Log4j 1.2.7
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.log4j.Category

Packages that use Category
org.apache.log4j | The main log4j package.
org.apache.log4j.config | Package used in getting/setting component properties.
org.apache.log4j.jmx | This package lets you manage log4j settings using JMX.
org.apache.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend log4j.

Uses of Category in org.apache.log4j

Subclasses of Category in org.apache.log4j
`class` | `Logger` This is the central class in the log4j package.

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.getInstance(String name)` Retrieve a category with named as the `name` parameter.
`static Category` | `Category.getInstance(Class clazz)` Shorthand for `getInstance(clazz.getName())`.
`Category` | `Category.getParent()` Returns the parent of this category.
`static Category` | `Category.getRoot()` Return the root of the default category hierrachy.

Methods in org.apache.log4j with parameters of type Category
`void` | `Hierarchy.emitNoAppenderWarning(Category cat)`
`void` | `Hierarchy.fireAddAppenderEvent(Category logger, Appender appender)`

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.jmx

Methods in org.apache.log4j.jmx with parameters of type Category
`void` | `HierarchyDynamicMBean.addAppenderEvent(Category logger, Appender appender)`
`void` | `HierarchyDynamicMBean.removeAppenderEvent(Category cat, Appender appender)`

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.

Methods in org.apache.log4j.spi with parameters of type Category
`void` | `HierarchyEventListener.addAppenderEvent(Category cat, Appender appender)`
`void` | `HierarchyEventListener.removeAppenderEvent(Category cat, Appender appender)`
`void` | `LoggerRepository.emitNoAppenderWarning(Category cat)`
`void` | `LoggerRepository.fireAddAppenderEvent(Category logger, Appender appender)`

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Log4j 1.2.7
PREV NEXT | FRAMES NO FRAMES

Copyright 2000-2002 Apache Software Foundation.