Save This Page
Home » apache-log4j-1.2.15 » org.apache » log4j » [javadoc | source]
org.apache.log4j
public class: BasicConfigurator [javadoc | source]
java.lang.Object
   org.apache.log4j.BasicConfigurator
Use this class to quickly configure the package.

For file based configuration see PropertyConfigurator . For XML based configuration see DOMConfigurator .

Constructor:
 protected BasicConfigurator() 
Method from org.apache.log4j.BasicConfigurator Summary:
configure,   configure,   resetConfiguration
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.BasicConfigurator Detail:
 public static  void configure() 
 public static  void configure(Appender appender) 
    Add appender to the root category.
 public static  void resetConfiguration() 
    Reset the default hierarchy to its defaut. It is equivalent to calling Category.getDefaultHierarchy().resetConfiguration(). See Hierarchy#resetConfiguration() for more details.