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.pattern Provides classes implementing format specifiers in conversion patterns. 
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(Class clazz)
          Deprecated. Please make sure to use Logger.getLogger(Class) instead.
static Category Category.getInstance(String name)
          Deprecated. Make sure to use Logger.getLogger(String) instead.
 Category Category.getParent()
          Returns the parent of this category.
static Category Category.getRoot()
          Deprecated. Please use Logger.getRootLogger() instead.
 

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

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

Uses of Category in org.apache.log4j.spi
 

Subclasses of Category in org.apache.log4j.spi
 class NOPLogger
          No-operation implementation of Logger used by NOPLoggerRepository.
 class RootCategory
          Deprecated. Replaced by RootLogger.
 class RootLogger
          RootLogger sits at the top of the logger hierachy.
 

Methods in org.apache.log4j.spi that return Category
 Category LoggingEvent.getLogger()
          Gets the logger of the event.
 

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

Constructors in org.apache.log4j.spi with parameters of type Category
LoggingEvent(String fqnOfCategoryClass, Category logger, long timeStamp, Level level, Object message, String threadName, ThrowableInformation throwable, String ndc, LocationInfo info, Map properties)
          Create new instance.
LoggingEvent(String fqnOfCategoryClass, Category logger, long timeStamp, Priority level, Object message, Throwable throwable)
          Instantiate a LoggingEvent from the supplied parameters.
LoggingEvent(String fqnOfCategoryClass, Category logger, Priority level, Object message, Throwable throwable)
          Instantiate a LoggingEvent from the supplied parameters.
ThrowableInformation(Throwable throwable, Category category)
          Create a new instance.
 



Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.