org.apache.log4j.spi

Class RootCategory

public final class RootCategory extends Logger

Deprecated: Replaced by RootLogger.

Constructor Summary
RootCategory(Level level)
The root category names itself as "root".
Method Summary
LevelgetChainedLevel()
Return the assigned level value without walking the category hierarchy.
voidsetLevel(Level level)
Setting a null value to the level of the root category may have catastrophic results.
voidsetPriority(Level level)

Constructor Detail

RootCategory

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

Method Detail

getChainedLevel

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

setLevel

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.

Since: 0.8.3

setPriority

public final void setPriority(Level level)
Copyright 2000-2005 Apache Software Foundation.