Log4j Version 1.2.14: Class RootCategory

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.spi Class RootCategory

java.lang.Object
  |
  +--org.apache.log4j.Category
        |
        +--org.apache.log4j.Logger
              |
              +--org.apache.log4j.spi.RootCategory
All Implemented Interfaces:
AppenderAttachable

Deprecated. Replaced by RootLogger.

public final class RootCategory
extends Logger


 
 
 Level
 void
 void
 
 
 
 

RootCategory

public RootCategory(Level level)
Deprecated. 
The root category names itself as "root". However, the root category cannot be retrieved by name.

getChainedLevel

public final Level getChainedLevel()
Deprecated. 
Return the assigned level value without walking the category hierarchy.

setLevel

public final void setLevel(Level level)
Deprecated. 
Setting a null value to the level of the root category may have catastrophic results. We prevent this here.
Overrides:
setLevel in class Category
Since:
0.8.3

setPriority

public final void setPriority(Level level)
Deprecated. 

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.