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
.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a
ConsoleAppender that uses PatternLayout
using the TTCC_CONVERSION_PATTERN and
prints to System.out to the root category. | |||||||||||
Add
appender to the root category. | |||||||||||
Reset the default hierarchy to its defaut.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Add a ConsoleAppender
that uses PatternLayout
using the TTCC_CONVERSION_PATTERN
and
prints to System.out
to the root category.
Add appender
to the root category.
appender | The appender to add to the root category. |
---|
Reset the default hierarchy to its defaut. It is equivalent to
calling
Category.getDefaultHierarchy().resetConfiguration()
.
See resetConfiguration()
for more details.