java.lang.Objectorg.apache.log4j.Category
org.apache.log4j.Logger
All Implemented Interfaces:
AppenderAttachable
Direct Known Subclasses:
NOPLogger, MyLogger, RootCategory, RootLogger
log4j - 1.2Ceki - Gülcü| Fields inherited from org.apache.log4j.Category: |
|---|
| name, level, parent, resourceBundle, repository, aai, additive |
| Constructor: |
|---|
|
| Method from org.apache.log4j.Logger Summary: |
|---|
| getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace |
| Methods from org.apache.log4j.Category: |
|---|
| addAppender, assertLog, callAppenders, closeNestedAppenders, 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, setHierarchy, setLevel, setPriority, setResourceBundle, shutdown, warn, warn |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.log4j.Logger Detail: |
|---|
name parameter. If the named logger already exists,
then the existing instance will be returned. Otherwise, a new
instance is created.
By default, loggers do not have a set level but inherit it from their neareast ancestor with a set level. This is one of the central features of log4j. |
getLogger(clazz.getName()). |
factory parameter.
This method is intended to be used by sub-classes. |
The Logger.getName() method for the root logger always returns
stirng value: "root". However, calling
In other words, calling this method is the only way to retrieve the root logger. |
|
|
TRACE level including the
stack trace of the Throwable t passed as parameter.
See #debug(Object) form for more detailed information. |