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

All Implemented Interfaces:
    Log, Serializable

Implementation of the org.apache.commons.logging.Log interface that wraps the standard JDK logging mechanisms that are available in SourceForge's Lumberjack for JDKs prior to 1.4.

Field Summary
protected transient  Logger logger    The underlying Logger implementation we are using. 
protected  String name     
protected static final  Level dummyLevel    This member variable simply ensures that any attempt to initialise this class in a pre-1.4 JVM will result in an ExceptionInInitializerError. It must not be private, as an optimising compiler could detect that it is not used and optimise it away. 
Constructor:
 public Jdk13LumberjackLogger(String name) 
    Construct a named instance of this Logger.
    Parameters:
    name - Name of the logger to be constructed
Method from org.apache.commons.logging.impl.Jdk13LumberjackLogger Summary:
debug,   debug,   error,   error,   fatal,   fatal,   getLogger,   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.Jdk13LumberjackLogger Detail:
 public  void debug(Object message) 
    Logs a message with java.util.logging.Level.FINE.
 public  void debug(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.FINE.
 public  void error(Object message) 
    Logs a message with java.util.logging.Level.SEVERE.
 public  void error(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.SEVERE.
 public  void fatal(Object message) 
    Logs a message with java.util.logging.Level.SEVERE.
 public  void fatal(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.SEVERE.
 public Logger getLogger() 
    Return the native Logger instance we are using.
 public  void info(Object message) 
    Logs a message with java.util.logging.Level.INFO.
 public  void info(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.INFO.
 public boolean isDebugEnabled() 
    Is debug logging currently enabled?
 public boolean isErrorEnabled() 
    Is error logging currently enabled?
 public boolean isFatalEnabled() 
    Is fatal logging currently enabled?
 public boolean isInfoEnabled() 
    Is info logging currently enabled?
 public boolean isTraceEnabled() 
    Is trace logging currently enabled?
 public boolean isWarnEnabled() 
    Is warn logging currently enabled?
 public  void trace(Object message) 
    Logs a message with java.util.logging.Level.FINEST.
 public  void trace(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.FINEST.
 public  void warn(Object message) 
    Logs a message with java.util.logging.Level.WARNING.
 public  void warn(Object message,
    Throwable exception) 
    Logs a message with java.util.logging.Level.WARNING.