java.lang.Objectorg.apache.log4j.BasicConfigurator
Use this class to quickly configure the package.
For file based configuration see PropertyConfigurator. For XML based configuration see DOMConfigurator.
| Constructor Summary | |
| protected  | BasicConfigurator() | 
| Method Summary | |
| static void | configure()Add a ConsoleAppenderthat usesPatternLayoutusing thePatternLayout.TTCC_CONVERSION_PATTERNand
     prints toSystem.outto the root category. | 
| static void | configure(Appender appender)Add appenderto the root category. | 
| static void | resetConfiguration()Reset the default hierarchy to its defaut. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
protected BasicConfigurator()
| Method Detail | 
public static void configure()
ConsoleAppender that uses PatternLayout
     using the PatternLayout.TTCC_CONVERSION_PATTERN and
     prints to System.out to the root category.
public static void configure(Appender appender)
appender to the root category.
appender - The appender to add to the root category.public static void resetConfiguration()
Category.getDefaultHierarchy().resetConfiguration().
     See Hierarchy.resetConfiguration() for more details.
Copyright © 2000 Micro Focus International Limited.  All rights reserved.  
This document and the proprietary marks and names used herein are protected by international law.