AppenderAttachable
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
Constructor | Description |
---|---|
RootLogger(Level level) |
The root logger names itself as "root".
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
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
getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace
Copyright 2000-2007 Apache Software Foundation.