org.apache.log4j.spi
public final class RootLogger extends Logger
First, it cannot be assigned a null
level. Second, since root logger cannot have a parent, the
RootLogger method always returns the value of the
level field without walking the hierarchy.
| Constructor Summary | |
|---|---|
| RootLogger(Level level)
The root logger names itself as "root". | |
| Method Summary | |
|---|---|
| Level | getChainedLevel()
Return the assigned level value without walking the logger
hierarchy. |
| void | setLevel(Level level)
Setting a null value to the level of the root logger may have catastrophic
results. |
Since: 0.8.3