public final class

RootCategory

extends Logger
java.lang.Object
   ↳ org.apache.log4j.Category
     ↳ org.apache.log4j.Logger
       ↳ org.apache.log4j.spi.RootCategory

This class is deprecated.
Replaced by RootLogger.

Summary

[Expand]
Inherited Fields
From class org.apache.log4j.Category
Public Constructors
RootCategory(Level level)
The root category names itself as "root".
Public Methods
final Level getChainedLevel()
Return the assigned level value without walking the category hierarchy.
final void setLevel(Level level)
Setting a null value to the level of the root category may have catastrophic results.
final void setPriority(Level level)
[Expand]
Inherited Methods
From class org.apache.log4j.Logger
From class org.apache.log4j.Category
From class java.lang.Object
From interface org.apache.log4j.spi.AppenderAttachable

Public Constructors

public RootCategory (Level level)

The root category names itself as "root". However, the root category cannot be retrieved by name.

Public Methods

public final Level getChainedLevel ()

Return the assigned level value without walking the category hierarchy.

public final void setLevel (Level level)

Setting a null value to the level of the root category may have catastrophic results. We prevent this here.

public final void setPriority (Level level)