public final class RootLogger extends Logger
First, it cannot be assigned a null
level. Second, since root logger cannot have a parent, the
getChainedLevel()
method always returns the value of the
level field without walking the hierarchy.
additive, level, name, parent, repository, resourceBundle
构造器和说明 |
---|
RootLogger(Level level)
The root logger names itself as "root".
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace
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, isErrorEnalbed, isInfoEnabled, isWarnEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setPriority, setResourceBundle, shutdown, warn, warn