| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.commons.logging.impl.Log4JCategoryLog
Log4JLogger instead.
Implementation of Log that maps directly to a Log4J
 Category.  Initial configuration of the corresponding
 Category instances should be done in the usual manner, as outlined in
 the Log4J documentation.
| Field Summary | |
| private  org.apache.log4j.Category | categoryDeprecated. Log to this category | 
| private static java.lang.String | FQCNDeprecated. The fully qualified name of the Log4JCategoryLog class. | 
| Constructor Summary | |
| Log4JCategoryLog()Deprecated. | |
| Log4JCategoryLog(org.apache.log4j.Category category)Deprecated. For use with a log4j factory | |
| Log4JCategoryLog(java.lang.String name)Deprecated. Base constructor | |
| Method Summary | |
|  void | debug(java.lang.Object message)Deprecated. Log a message to the Log4j Category with DEBUGpriority. | 
|  void | debug(java.lang.Object message,
      java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with DEBUGpriority. | 
|  void | error(java.lang.Object message)Deprecated. Log a message to the Log4j Category with ERRORpriority. | 
|  void | error(java.lang.Object message,
      java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with ERRORpriority. | 
|  void | fatal(java.lang.Object message)Deprecated. Log a message to the Log4j Category with FATALpriority. | 
|  void | fatal(java.lang.Object message,
      java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with FATALpriority. | 
|  org.apache.log4j.Category | getCategory()Deprecated. Return the native Category instance we are using. | 
|  void | info(java.lang.Object message)Deprecated. Log a message to the Log4j Category with INFOpriority. | 
|  void | info(java.lang.Object message,
     java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with INFOpriority. | 
|  boolean | isDebugEnabled()Deprecated. Check whether the Log4j Category used is enabled for DEBUGpriority. | 
|  boolean | isErrorEnabled()Deprecated. Check whether the Log4j Category used is enabled for ERRORpriority. | 
|  boolean | isFatalEnabled()Deprecated. Check whether the Log4j Category used is enabled for FATALpriority. | 
|  boolean | isInfoEnabled()Deprecated. Check whether the Log4j Category used is enabled for INFOpriority. | 
|  boolean | isTraceEnabled()Deprecated. Check whether the Log4j Category used is enabled for TRACEpriority. | 
|  boolean | isWarnEnabled()Deprecated. Check whether the Log4j Category used is enabled for WARNpriority. | 
|  void | trace(java.lang.Object message)Deprecated. Log a message to the Log4j Category with TRACEpriority. | 
|  void | trace(java.lang.Object message,
      java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with TRACEpriority. | 
|  void | warn(java.lang.Object message)Deprecated. Log a message to the Log4j Category with WARNpriority. | 
|  void | warn(java.lang.Object message,
     java.lang.Throwable t)Deprecated. Log an error to the Log4j Category with WARNpriority. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
private static final java.lang.String FQCN
private org.apache.log4j.Category category
| Constructor Detail | 
public Log4JCategoryLog()
public Log4JCategoryLog(java.lang.String name)
public Log4JCategoryLog(org.apache.log4j.Category category)
| Method Detail | 
public void trace(java.lang.Object message)
TRACE priority.
 Currently logs to DEBUG level in Log4J.
trace in interface Logmessage - log this message
public void trace(java.lang.Object message,
                  java.lang.Throwable t)
TRACE priority.
 Currently logs to DEBUG level in Log4J.
trace in interface Logmessage - log this messaget - log this causepublic void debug(java.lang.Object message)
DEBUG priority.
debug in interface Logmessage - log this message
public void debug(java.lang.Object message,
                  java.lang.Throwable t)
DEBUG priority.
debug in interface Logmessage - log this messaget - log this causepublic void info(java.lang.Object message)
INFO priority.
info in interface Logmessage - log this message
public void info(java.lang.Object message,
                 java.lang.Throwable t)
INFO priority.
info in interface Logmessage - log this messaget - log this causepublic void warn(java.lang.Object message)
WARN priority.
warn in interface Logmessage - log this message
public void warn(java.lang.Object message,
                 java.lang.Throwable t)
WARN priority.
warn in interface Logmessage - log this messaget - log this causepublic void error(java.lang.Object message)
ERROR priority.
error in interface Logmessage - log this message
public void error(java.lang.Object message,
                  java.lang.Throwable t)
ERROR priority.
error in interface Logmessage - log this messaget - log this causepublic void fatal(java.lang.Object message)
FATAL priority.
fatal in interface Logmessage - log this message
public void fatal(java.lang.Object message,
                  java.lang.Throwable t)
FATAL priority.
fatal in interface Logmessage - log this messaget - log this causepublic org.apache.log4j.Category getCategory()
public boolean isDebugEnabled()
DEBUG priority.
isDebugEnabled in interface Logpublic boolean isErrorEnabled()
ERROR priority.
isErrorEnabled in interface Logpublic boolean isFatalEnabled()
FATAL priority.
isFatalEnabled in interface Logpublic boolean isInfoEnabled()
INFO priority.
isInfoEnabled in interface Logpublic boolean isTraceEnabled()
TRACE priority.
 For Log4J, this returns the value of isDebugEnabled()
isTraceEnabled in interface Logpublic boolean isWarnEnabled()
WARN priority.
isWarnEnabled in interface Log| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||