Home » SLF4J-1.5.8 » org.apache.commons » logging » impl » [javadoc | source]
org.apache.commons.logging.impl
public final class: Log4JCategoryLog [javadoc | source]
java.lang.Object
   org.apache.commons.logging.impl.Log4JCategoryLog

All Implemented Interfaces:
    Log

Deprecated! Use - 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.

Constructor:
 public Log4JCategoryLog() 
 public Log4JCategoryLog(String name) 
    Base constructor.
 public Log4JCategoryLog(Category category) 
    For use with a log4j factory.
Method from org.apache.commons.logging.impl.Log4JCategoryLog Summary:
debug,   debug,   error,   error,   fatal,   fatal,   getCategory,   info,   info,   isDebugEnabled,   isErrorEnabled,   isFatalEnabled,   isInfoEnabled,   isTraceEnabled,   isWarnEnabled,   trace,   trace,   warn,   warn
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.logging.impl.Log4JCategoryLog Detail:
 public  void debug(Object message) 
      Deprecated!
    Log a message to the Log4j Category with DEBUG priority.
 public  void debug(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with DEBUG priority.
 public  void error(Object message) 
      Deprecated!
    Log a message to the Log4j Category with ERROR priority.
 public  void error(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with ERROR priority.
 public  void fatal(Object message) 
      Deprecated!
    Log a message to the Log4j Category with FATAL priority.
 public  void fatal(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with FATAL priority.
 public Category getCategory() 
      Deprecated!
    Return the native Category instance we are using.
 public  void info(Object message) 
      Deprecated!
    Log a message to the Log4j Category with INFO priority.
 public  void info(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with INFO priority.
 public boolean isDebugEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for DEBUG priority.
 public boolean isErrorEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for ERROR priority.
 public boolean isFatalEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for FATAL priority.
 public boolean isInfoEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for INFO priority.
 public boolean isTraceEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for TRACE priority. For Log4J, this returns the value of isDebugEnabled()
 public boolean isWarnEnabled() 
      Deprecated!
    Check whether the Log4j Category used is enabled for WARN priority.
 public  void trace(Object message) 
      Deprecated!
    Log a message to the Log4j Category with TRACE priority. Currently logs to DEBUG level in Log4J.
 public  void trace(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with TRACE priority. Currently logs to DEBUG level in Log4J.
 public  void warn(Object message) 
      Deprecated!
    Log a message to the Log4j Category with WARN priority.
 public  void warn(Object message,
    Throwable t) 
      Deprecated!
    Log an error to the Log4j Category with WARN priority.