Package 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.
-
Field Summary
Fields inherited from class org.apache.log4j.Category
additive, level, name, parent, repository, resourceBundle
-
Constructor Summary
ConstructorsConstructorDescriptionRootCategory
(Level level) Deprecated.The root category names itself as "root". -
Method Summary
Modifier and TypeMethodDescriptionfinal Level
Deprecated.Return the assigned level value without walking the category hierarchy.final void
Deprecated.Setting a null value to the level of the root category may have catastrophic results.final void
setPriority
(Level level) Deprecated.Methods inherited from class org.apache.log4j.Logger
getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace
Methods inherited from class org.apache.log4j.Category
addAppender, assertLog, callAppenders, debug, debug, error, error, exists, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getChainedPriority, getCurrentCategories, getDefaultHierarchy, getEffectiveLevel, getHierarchy, getInstance, getInstance, getLevel, getLoggerRepository, getName, getParent, getPriority, getResourceBundle, getResourceBundleString, getRoot, info, info, isAttached, isDebugEnabled, isEnabledFor, isInfoEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setPriority, setResourceBundle, shutdown, warn, warn
-
Constructor Details
-
RootCategory
Deprecated.The root category names itself as "root". However, the root category cannot be retrieved by name.
-
-
Method Details
-
getChainedLevel
Deprecated.Return the assigned level value without walking the category hierarchy. -
setLevel
Deprecated.Setting a null value to the level of the root category may have catastrophic results. We prevent this here. -
setPriority
Deprecated.
-
RootLogger
.